A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
fix: remove async from sync methods
thecodrrc9441b1f5e40
diff --git a/packages/core/api/monographs.js b/packages/core/api/monographs.jsindex 8ef03b9b0..9cd8eb0dc 100644--- a/packages/core/api/monographs.js+++ b/packages/core/api/monographs.js@@ -34,7 +34,7 @@ class Monographs {* @param {string} noteId id of the note* @returns {boolean} Whether note is published or not.*/- async isPublished(noteId) {+ isPublished(noteId) {if (!this.monographs) return false;return !!this.monographs[noteId];}@@ -44,7 +44,7 @@ class Monographs {* @param {string} noteId id of the note* @returns Monograph Id*/- async monograph(noteId) {+ monograph(noteId) {if (!this.monographs) return;return this.monographs[noteId];}