aboutsummaryrefslogtreecommitdiff
path: root/juick-notifications/src
diff options
context:
space:
mode:
Diffstat (limited to 'juick-notifications/src')
-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();
}
}