mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 14:53:33 +00:00
fix errors
This commit is contained in:
@@ -29,7 +29,7 @@ export class DeleteCommand {
|
||||
await this.cipherService.deleteWithServer(id);
|
||||
return Response.success();
|
||||
} catch (e) {
|
||||
return Response.error(e.toString());
|
||||
return Response.error(e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@ export class DeleteCommand {
|
||||
await this.folderService.deleteWithServer(id);
|
||||
return Response.success();
|
||||
} catch (e) {
|
||||
return Response.error(e.toString());
|
||||
return Response.error(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user