1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-04 09:01:01 +01:00

[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

View File

@ -362,7 +362,7 @@ export class SyncService implements SyncServiceAbstraction {
private async syncSends(response: SendResponse[]) { private async syncSends(response: SendResponse[]) {
const sends: { [id: string]: SendData } = {}; const sends: { [id: string]: SendData } = {};
response.forEach((s) => { response.forEach((s) => {
sends[s.id] = new SendData(); sends[s.id] = new SendData(s);
}); });
return await this.sendService.replace(sends); return await this.sendService.replace(sends);
} }