mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
Fix/lock lowdb file (#470)
* Lock data.json while running * Await floating promises * Increase retry frequency and attempt count for lock file * tweak lock retry times
This commit is contained in:
@@ -13,7 +13,7 @@ export class SendDeleteCommand {
|
||||
}
|
||||
|
||||
try {
|
||||
this.sendService.deleteWithServer(id);
|
||||
await this.sendService.deleteWithServer(id);
|
||||
return Response.success();
|
||||
} catch (e) {
|
||||
return Response.error(e);
|
||||
|
||||
Reference in New Issue
Block a user