From 201e4e09eb3c33be5b399b75b46da82902c6c29f Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Fri, 21 Apr 2017 15:03:19 +0100 Subject: [PATCH] Update to the new jorunal entries API. --- .../syncadapter/journalmanager/JournalEntryManager.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/etesync/syncadapter/journalmanager/JournalEntryManager.java b/app/src/main/java/com/etesync/syncadapter/journalmanager/JournalEntryManager.java index 7465ae63..24928f31 100644 --- a/app/src/main/java/com/etesync/syncadapter/journalmanager/JournalEntryManager.java +++ b/app/src/main/java/com/etesync/syncadapter/journalmanager/JournalEntryManager.java @@ -26,8 +26,9 @@ public class JournalEntryManager extends BaseManager { public JournalEntryManager(OkHttpClient httpClient, HttpUrl remote, String journal) { this.uid = journal; this.remote = remote.newBuilder() - .addPathSegments("api/v1/journal") + .addPathSegments("api/v1/journals") .addPathSegments(journal) + .addPathSegment("entries") .addPathSegment("") .build(); App.log.info("Created for: " + this.remote.toString());