From ef6ff34ec6c5da2b4ef2715a324466edaeb220f3 Mon Sep 17 00:00:00 2001 From: Abdullah Atta Date: Thu, 22 Feb 2024 22:42:39 +0500 Subject: [PATCH] core: enable sync push --- packages/core/src/api/sync/index.ts | 2 -- 1 file changed, 2 deletions(-) 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;