mirror of
https://github.com/zitadel/zitadel.git
synced 2025-02-28 22:37:24 +00:00
fix(console): get instance domain policy (#4550)
fix: get instance domain policy correctly
This commit is contained in:
parent
3dee8525d8
commit
bb16852e84
@ -79,7 +79,7 @@ export class DomainPolicyComponent implements OnInit, OnDestroy {
|
||||
case PolicyComponentServiceType.MGMT:
|
||||
return this.managementService.getDomainPolicy();
|
||||
case PolicyComponentServiceType.ADMIN:
|
||||
return this.adminService.getCustomDomainPolicy(this.org.id);
|
||||
return this.adminService.getDomainPolicy();
|
||||
default:
|
||||
return Promise.reject();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user