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: send auth token with monographs get request
thecodrr1adbde583375
diff --git a/packages/core/api/monograph.js b/packages/core/api/monograph.jsindex 8cbc5ec5e..88a4cf4b0 100644--- a/packages/core/api/monograph.js+++ b/packages/core/api/monograph.js@@ -16,7 +16,10 @@ class Monograph {const token = await this._db.user.tokenManager.getAccessToken();if (!user || !token || !user.isEmailConfirmed) return;try {- const userMonographs = await http.get(`${Constants.API_HOST}/monographs`);+ const userMonographs = await http.get(+ `${Constants.API_HOST}/monographs`,+ token+ );this.monographs = userMonographs.reduce((prev, curr) => {prev[curr.noteId] = curr.id;return prev;