diff options
author | Ugnich Anton | 2013-07-22 03:44:01 +0700 |
---|---|---|
committer | Ugnich Anton | 2013-07-22 03:44:01 +0700 |
commit | 4b1ef499dbd28c1639b9723ee2e9c5ff80002dde (patch) | |
tree | e96c774f4e54f23ca03f71c4b63a64cba86232ad /src/java/com/juick/api/Main.java | |
parent | df529650d03296bf03ade8c0eed4a2fcc404a041 (diff) |
/users/
Diffstat (limited to 'src/java/com/juick/api/Main.java')
-rw-r--r-- | src/java/com/juick/api/Main.java | 4 |
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); |