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
refactor: remove unnecessary condition
thecodrrd991efb5f6b1
diff --git a/packages/core/api/sync.js b/packages/core/api/sync.jsindex ac4b2a0d5..dcfb043fc 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 (!serverResponse.synced && !mergeResult && areAllEmpty(data))+ if (!mergeResult && areAllEmpty(data))await this.db.user.set({ lastSynced: data.lastSynced });}