aboutsummaryrefslogtreecommitdiff
path: root/juick-notifications/src
diff options
context:
space:
mode:
Diffstat (limited to 'juick-notifications/src')
-rw-r--r--juick-notifications/src/main/java/com/juick/components/controllers/StatusController.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/juick-notifications/src/main/java/com/juick/components/controllers/StatusController.java b/juick-notifications/src/main/java/com/juick/components/controllers/StatusController.java
index 50d73de6..05bd9b45 100644
--- a/juick-notifications/src/main/java/com/juick/components/controllers/StatusController.java
+++ b/juick-notifications/src/main/java/com/juick/components/controllers/StatusController.java
@@ -21,7 +21,6 @@ public class StatusController {
@RequestMapping(method = RequestMethod.GET, value = "/", produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
public Status status() {
- String status = push != null ? "OK" : "Fail";
- return new Status(status);
+ return push != null ? Status.OK : Status.FAIL;
}
}