aboutsummaryrefslogtreecommitdiff
path: root/juick-ws/src/main/java/com
diff options
context:
space:
mode:
authorGravatar Alexander Alexeev2016-11-26 04:17:17 +0700
committerGravatar Alexander Alexeev2016-11-26 04:17:17 +0700
commit46a040d6ff07e2581ae461ac60d2abc736cc7c6d (patch)
tree13bd27c1c12b6846e780a54cc87e7a7b17639d0b /juick-ws/src/main/java/com
parent55b09a6a3bc4a21201189d855e140308f05016fb (diff)
status constants
Diffstat (limited to 'juick-ws/src/main/java/com')
-rw-r--r--juick-ws/src/main/java/com/juick/ws/controllers/ApiController.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-ws/src/main/java/com/juick/ws/controllers/ApiController.java b/juick-ws/src/main/java/com/juick/ws/controllers/ApiController.java
index 2f57b0b6..21572637 100644
--- a/juick-ws/src/main/java/com/juick/ws/controllers/ApiController.java
+++ b/juick-ws/src/main/java/com/juick/ws/controllers/ApiController.java
@@ -20,6 +20,6 @@ public class ApiController {
@RequestMapping(value = "/api/status", method = RequestMethod.GET,
produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
public Status status() {
- return new Status(String.valueOf(wsHandler.getClients().size()));
+ return Status.getStatus(String.valueOf(wsHandler.getClients().size()));
}
}