aboutsummaryrefslogtreecommitdiff
path: root/juick-notifications/src/main
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-11-13 16:24:54 +0300
committerGravatar Vitaly Takmazov2017-11-13 16:24:54 +0300
commit444bfb8ab44da854672e989866e7cdd968144f9c (patch)
treea8d6fb1e6a8f305f494bc6bb097abe3fe31a65e4 /juick-notifications/src/main
parent7f3df0421437e76a3b94658d3c6f9fc39b7843ca (diff)
notifications: fix top url
Diffstat (limited to 'juick-notifications/src/main')
-rw-r--r--juick-notifications/src/main/java/com/juick/components/service/ApiMessagesService.java2
1 files changed, 1 insertions, 1 deletions
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<Integer> getPopularCandidates() {
HttpHeaders headers = new HttpHeaders();
headers.setContentType(MediaType.APPLICATION_JSON_UTF8);
- return getRest().exchange("/messages/top_candidates", HttpMethod.GET, new HttpEntity<>(headers), new ParameterizedTypeReference<List<Integer>>() {
+ return getRest().exchange("https://api.juick.com/messages/top_candidates", HttpMethod.GET, new HttpEntity<>(headers), new ParameterizedTypeReference<List<Integer>>() {
}).getBody();
}
}