aboutsummaryrefslogtreecommitdiff
path: root/src/java/com/juick/api/Main.java
diff options
context:
space:
mode:
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);