1
0
mirror of https://github.com/etesync/android synced 2025-01-11 08:10:58 +00:00

Update to the new jorunal entries API.

This commit is contained in:
Tom Hacohen 2017-04-21 15:03:19 +01:00
parent 148260110a
commit 201e4e09eb

View File

@ -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());