core: enable sync push

This commit is contained in:
Abdullah Atta
2024-02-22 22:42:39 +05:00
parent 9a42273a50
commit ef6ff34ec6

View File

@@ -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;