1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

bulk move/delete apis

This commit is contained in:
Kyle Spearrin
2018-06-12 17:12:27 -04:00
parent 1021f23277
commit 7a5a4e654a
6 changed files with 80 additions and 3 deletions

View File

@@ -2,6 +2,6 @@ export class CipherBulkDeleteRequest {
ids: string[];
constructor(ids: string[]) {
this.ids = ids;
this.ids = ids == null ? [] : ids;
}
}

View File

@@ -3,7 +3,7 @@ export class CipherBulkMoveRequest {
folderId: string;
constructor(ids: string[], folderId: string) {
this.ids = ids;
this.ids = ids == null ? [] : ids;
this.folderId = folderId;
}
}