diff options
author | Alexander Alexeev | 2016-11-26 04:17:17 +0700 |
---|---|---|
committer | Alexander Alexeev | 2016-11-26 04:17:17 +0700 |
commit | 46a040d6ff07e2581ae461ac60d2abc736cc7c6d (patch) | |
tree | 13bd27c1c12b6846e780a54cc87e7a7b17639d0b /juick-api/src/main/java/com/juick/api/controllers | |
parent | 55b09a6a3bc4a21201189d855e140308f05016fb (diff) |
status constants
Diffstat (limited to 'juick-api/src/main/java/com/juick/api/controllers')
-rw-r--r-- | juick-api/src/main/java/com/juick/api/controllers/Notifications.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-api/src/main/java/com/juick/api/controllers/Notifications.java b/juick-api/src/main/java/com/juick/api/controllers/Notifications.java index 0d0d0965..c3529645 100644 --- a/juick-api/src/main/java/com/juick/api/controllers/Notifications.java +++ b/juick-api/src/main/java/com/juick/api/controllers/Notifications.java @@ -133,6 +133,6 @@ public class Notifications { mapper.setSerializationInclusion(JsonInclude.Include.NON_DEFAULT); TokensList list = mapper.readValue(requestBody, TokensList.class); list.getTokens().forEach(t -> pushQueriesService.deleteAPNSToken(t)); - return new Status("ok"); + return Status.OK; } } |