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;