You've already forked joplin
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:
@@ -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);
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user