1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-12-02 22:49:09 +02:00

Desktop: API: Fixed externalEditWatcher/noteIsWatched call, fixed tests

This commit is contained in:
Laurent Cozic
2020-06-20 12:03:22 +01:00
parent 6350506ce7
commit 89ca8e08d6
6 changed files with 22 additions and 12 deletions

View File

@@ -36,7 +36,8 @@ class ExternalEditWatcher {
return this.stopWatching(noteId);
},
noteIsWatched: async ({ noteId }) => {
return this.noteIsWatched(noteId);
const note = await Note.load(noteId);
return this.noteIsWatched(note);
},
};
}