From 46a040d6ff07e2581ae461ac60d2abc736cc7c6d Mon Sep 17 00:00:00 2001 From: Alexander Alexeev Date: Sat, 26 Nov 2016 04:17:17 +0700 Subject: status constants --- juick-api/src/main/java/com/juick/api/controllers/Notifications.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'juick-api') 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; } } -- cgit v1.2.3