mirror of
https://github.com/bitwarden/jslib
synced 2025-12-15 07:43:45 +00:00
[PS-568] Fix send sync not working as expected (#801)
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user