Browse Source

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

feature/example-reactive-service
Oscar Hinton 4 years ago committed by GitHub
parent
commit
4a09edf590
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      common/src/services/sync.service.ts

2
common/src/services/sync.service.ts

@ -362,7 +362,7 @@ export class SyncService implements SyncServiceAbstraction { @@ -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);
}

Loading…
Cancel
Save