aboutsummaryrefslogtreecommitdiff
path: root/src/java/com/juick/api/Main.java
diff options
context:
space:
mode:
authorGravatar Ugnich Anton2013-07-22 03:44:01 +0700
committerGravatar Ugnich Anton2013-07-22 03:44:01 +0700
commit4b1ef499dbd28c1639b9723ee2e9c5ff80002dde (patch)
treee96c774f4e54f23ca03f71c4b63a64cba86232ad /src/java/com/juick/api/Main.java
parentdf529650d03296bf03ade8c0eed4a2fcc404a041 (diff)
/users/
Diffstat (limited to 'src/java/com/juick/api/Main.java')
-rw-r--r--src/java/com/juick/api/Main.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/java/com/juick/api/Main.java b/src/java/com/juick/api/Main.java
index ebbeb103..449c2a86 100644
--- a/src/java/com/juick/api/Main.java
+++ b/src/java/com/juick/api/Main.java
@@ -95,7 +95,9 @@ public class Main extends HttpServlet {
int vuid = Utils.getHttpAuthUID(sql, request);
String uri = request.getRequestURI();
- if (uri.equals("/users/read")) {
+ if (uri.equals("/users")) {
+ users.doGetUsers(request, response, vuid);
+ } else if (uri.equals("/users/read")) {
users.doGetUserRead(request, response, vuid);
} else if (uri.equals("/users/readers")) {
users.doGetUserReaders(request, response, vuid);