mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-08 09:43:42 +01:00
[PS-568] Fix send sync not working as expected (#801)
This commit is contained in:
parent
b4e97da6b8
commit
4a09edf590
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user