[PS-568] Fix send sync not working as expected (#801)

This commit is contained in:
Oscar Hinton 2022-05-10 23:02:33 +02:00 committed by GitHub
parent b4e97da6b8
commit 4a09edf590
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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