mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 23:47:33 +00:00
fix(console): get instance domain policy (#4550)
fix: get instance domain policy correctly
This commit is contained in:
@@ -79,7 +79,7 @@ export class DomainPolicyComponent implements OnInit, OnDestroy {
|
|||||||
case PolicyComponentServiceType.MGMT:
|
case PolicyComponentServiceType.MGMT:
|
||||||
return this.managementService.getDomainPolicy();
|
return this.managementService.getDomainPolicy();
|
||||||
case PolicyComponentServiceType.ADMIN:
|
case PolicyComponentServiceType.ADMIN:
|
||||||
return this.adminService.getCustomDomainPolicy(this.org.id);
|
return this.adminService.getDomainPolicy();
|
||||||
default:
|
default:
|
||||||
return Promise.reject();
|
return Promise.reject();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user