Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

core: enable sync push

Abdullah Attaef6ff34ec6c5
diff --git a/packages/core/src/api/sync/index.ts b/packages/core/src/api/sync/index.ts
index 0a763b793..956638a64 100644
--- a/packages/core/src/api/sync/index.ts
+++ b/packages/core/src/api/sync/index.ts
@@ -245,8 +245,6 @@ class Sync {
}
async send(deviceId: string, isForceSync?: boolean) {
- // TODO: remove this.
- if (process.env.NODE_ENV !== "test") return false;
await this.uploadAttachments();
let done = 0;