1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-31 00:33:33 +00:00

[PM-31282] Pass orgId through to API call when SDK feature flag is off (#18619)

This commit is contained in:
Nik Gilmore
2026-01-28 09:38:15 -08:00
committed by GitHub
parent 136705ac08
commit c07beb3b10
2 changed files with 2 additions and 2 deletions

View File

@@ -1209,7 +1209,7 @@ describe("Cipher Service", () => {
await cipherService.softDeleteManyWithServer(testCipherIds, userId, true, orgId);
expect(apiSpy).toHaveBeenCalled();
expect(apiSpy).toHaveBeenCalledWith({ ids: testCipherIds, organizationId: orgId });
});
it("should use SDK to soft delete multiple ciphers when feature flag is enabled", async () => {

View File

@@ -1619,7 +1619,7 @@ export class CipherService implements CipherServiceAbstraction {
return;
}
const request = new CipherBulkDeleteRequest(ids);
const request = new CipherBulkDeleteRequest(ids, orgId);
if (asAdmin) {
await this.apiService.putDeleteManyCiphersAdmin(request);
} else {