1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-21 02:33:46 +00:00

fix bulk restore for unassigned items (#15533)

This commit is contained in:
Brandon Treston
2025-07-14 15:50:13 -04:00
committed by GitHub
parent e382bd6156
commit 4f84d6b0f6
4 changed files with 5 additions and 3 deletions

View File

@@ -1336,7 +1336,7 @@ export class CipherService implements CipherServiceAbstraction {
* No longer using an asAdmin Param. Org Vault bulkRestore will assess if an item is unassigned or editable
* The Org Vault will pass those ids an array as well as the orgId when calling bulkRestore
*/
async restoreManyWithServer(ids: string[], userId: UserId, orgId: string = null): Promise<void> {
async restoreManyWithServer(ids: string[], userId: UserId, orgId?: string): Promise<void> {
let response;
if (orgId) {