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: invert condition
thecodrr0901901e213d
diff --git a/packages/core/api/sync.js b/packages/core/api/sync.jsindex dcfb043fc..93c31ce94 100644--- a/packages/core/api/sync.js+++ b/packages/core/api/sync.js@@ -69,7 +69,7 @@ export default class Sync {await this._send(data);// update our lastSynced time- if (!mergeResult && areAllEmpty(data))+ if (mergeResult && !areAllEmpty(data))await this.db.user.set({ lastSynced: data.lastSynced });}