From 4a09edf590f8ffe5faf8b3c5bc5504545a8fa4e5 Mon Sep 17 00:00:00 2001 From: Oscar Hinton Date: Tue, 10 May 2022 23:02:33 +0200 Subject: [PATCH] [PS-568] Fix send sync not working as expected (#801) --- common/src/services/sync.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/services/sync.service.ts b/common/src/services/sync.service.ts index 177d76f5da..776ace7a74 100644 --- a/common/src/services/sync.service.ts +++ b/common/src/services/sync.service.ts @@ -362,7 +362,7 @@ export class SyncService implements SyncServiceAbstraction { private async syncSends(response: SendResponse[]) { const sends: { [id: string]: SendData } = {}; response.forEach((s) => { - sends[s.id] = new SendData(); + sends[s.id] = new SendData(s); }); return await this.sendService.replace(sends); }