aboutsummaryrefslogtreecommitdiff
path: root/juick-api
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-api
parent55b09a6a3bc4a21201189d855e140308f05016fb (diff)
status constants
Diffstat (limited to 'juick-api')
-rw-r--r--juick-api/src/main/java/com/juick/api/controllers/Notifications.java2
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;
}
}