mirror of
https://github.com/bitwarden/browser
synced 2026-01-08 11:33:28 +00:00
[AC-2276] Move policyService helper methods to domain object (#8254)
* Move mapPolicyFromResponse and mapPoliciesFromToken to static factory methods
This commit is contained in:
@@ -167,7 +167,7 @@ export class AcceptOrganizationComponent extends BaseAcceptComponent {
|
||||
qParams.email,
|
||||
qParams.organizationUserId,
|
||||
);
|
||||
policyList = this.policyService.mapPoliciesFromToken(policies);
|
||||
policyList = Policy.fromListResponse(policies);
|
||||
} catch (e) {
|
||||
this.logService.error(e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user