mirror of
https://github.com/bitwarden/browser
synced 2026-02-07 12:13:45 +00:00
Fixing bulk restore request property name to match server. (#18757)
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import { EncString } from "@bitwarden/sdk-internal";
|
||||
|
||||
export class OrganizationUserBulkRestoreRequest {
|
||||
userIds: string[];
|
||||
ids: string[];
|
||||
defaultUserCollectionName: EncString | undefined;
|
||||
|
||||
constructor(userIds: string[], defaultUserCollectionName?: EncString) {
|
||||
this.userIds = userIds;
|
||||
constructor(ids: string[], defaultUserCollectionName?: EncString) {
|
||||
this.ids = ids;
|
||||
this.defaultUserCollectionName = defaultUserCollectionName;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -258,7 +258,7 @@ describe("DefaultOrganizationUserService", () => {
|
||||
).toHaveBeenCalledWith(
|
||||
mockOrganization.id,
|
||||
expect.objectContaining({
|
||||
userIds: mockUserIds,
|
||||
ids: mockUserIds,
|
||||
defaultUserCollectionName: mockEncryptedCollectionName.encryptedString,
|
||||
}),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user