From 444bfb8ab44da854672e989866e7cdd968144f9c Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 13 Nov 2017 16:24:54 +0300 Subject: notifications: fix top url --- .../src/main/java/com/juick/components/service/ApiMessagesService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'juick-notifications/src/main/java/com/juick/components/service') diff --git a/juick-notifications/src/main/java/com/juick/components/service/ApiMessagesService.java b/juick-notifications/src/main/java/com/juick/components/service/ApiMessagesService.java index 1ee9c3f1..88ffad1a 100644 --- a/juick-notifications/src/main/java/com/juick/components/service/ApiMessagesService.java +++ b/juick-notifications/src/main/java/com/juick/components/service/ApiMessagesService.java @@ -216,7 +216,7 @@ public class ApiMessagesService extends BaseRestService implements MessagesServi public List getPopularCandidates() { HttpHeaders headers = new HttpHeaders(); headers.setContentType(MediaType.APPLICATION_JSON_UTF8); - return getRest().exchange("/messages/top_candidates", HttpMethod.GET, new HttpEntity<>(headers), new ParameterizedTypeReference>() { + return getRest().exchange("https://api.juick.com/messages/top_candidates", HttpMethod.GET, new HttpEntity<>(headers), new ParameterizedTypeReference>() { }).getBody(); } } -- cgit v1.2.3