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: add async modifier to function
thecodrr215493e55685
diff --git a/packages/core/api/index.js b/packages/core/api/index.jsindex c20cd7ba9..cd015e79d 100644--- a/packages/core/api/index.js+++ b/packages/core/api/index.js@@ -64,7 +64,7 @@ class Database {this.text = await Content.new(this, "text", false);}- _onUserStateChanged(user) {+ async _onUserStateChanged(user) {if (this.evtSource) {this.evtSource.close();}