mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-13 21:40:45 +00:00
org branding
This commit is contained in:
@@ -55,11 +55,15 @@ if (!getServers().length) {
|
||||
}
|
||||
|
||||
export async function getBrandingSettings(
|
||||
server: ZitadelServer
|
||||
server: ZitadelServer,
|
||||
organization?: string
|
||||
): Promise<BrandingSettings | undefined> {
|
||||
const settingsService = settings.getSettings(server);
|
||||
return settingsService
|
||||
.getBrandingSettings({}, {})
|
||||
.getBrandingSettings(
|
||||
{ ctx: organization ? { orgId: organization } : { instance: true } },
|
||||
{}
|
||||
)
|
||||
.then((resp: GetBrandingSettingsResponse) => resp.settings);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user