From 4d02e6fc20e3baacfd377155d5448e47160f0a5e 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 01ed86ce8..16da52087 100644 --- a/packages/core/src/api/sync/index.ts +++ b/packages/core/src/api/sync/index.ts @@ -237,8 +237,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;