diff options
Diffstat (limited to 'app/src/main/java/it/niedermann/owncloud/notes/persistence/NotesDatabase.java')
-rw-r--r-- | app/src/main/java/it/niedermann/owncloud/notes/persistence/NotesDatabase.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/it/niedermann/owncloud/notes/persistence/NotesDatabase.java b/app/src/main/java/it/niedermann/owncloud/notes/persistence/NotesDatabase.java index 3fa1c652..c0a32fd4 100644 --- a/app/src/main/java/it/niedermann/owncloud/notes/persistence/NotesDatabase.java +++ b/app/src/main/java/it/niedermann/owncloud/notes/persistence/NotesDatabase.java @@ -202,7 +202,7 @@ public abstract class NotesDatabase extends RoomDatabase { entity.setFavorite(note.getFavorite()); entity.setCategoryId(getOrCreateCategoryIdByTitle(accountId, note.getCategory())); entity.setETag(note.getETag()); - return getNoteDao().getFullNoteWithCategory(accountId, getNoteDao().addNote(entity)); + return getNoteDao().getFullNoteWithCategory(getNoteDao().addNote(entity)); } @AnyThread |