1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-07 19:13:39 +00:00

[AC-2632] Device approvals ListCommand (#9389)

This commit is contained in:
Thomas Rittson
2024-06-03 11:15:01 +10:00
committed by GitHub
parent 2358443102
commit 13bccc5a63
3 changed files with 65 additions and 3 deletions

View File

@@ -38,7 +38,10 @@ export class DeviceApprovalProgram extends BaseProgram {
await this.exitIfFeatureFlagDisabled(FeatureFlag.BulkDeviceApproval);
await this.exitIfLocked();
const cmd = new ListCommand();
const cmd = new ListCommand(
this.serviceContainer.organizationAuthRequestService,
this.serviceContainer.organizationService,
);
const response = await cmd.run(organizationId);
this.processResponse(response);
});