File tree Expand file tree Collapse file tree
apps/sim/ee/whitelabeling Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,9 +2,7 @@ import { db } from '@sim/db'
22import { organization } from '@sim/db/schema'
33import { createLogger } from '@sim/logger'
44import { eq } from 'drizzle-orm'
5- import type { BrandConfig , OrganizationWhitelabelSettings } from '@/lib/branding/types'
6- import { getBrandConfig } from '@/ee/whitelabeling/branding'
7- import { mergeOrgBrandConfig } from '@/ee/whitelabeling/org-branding-utils'
5+ import type { OrganizationWhitelabelSettings } from '@/lib/branding/types'
86
97const logger = createLogger ( 'OrgBranding' )
108
@@ -27,11 +25,3 @@ export async function getOrgWhitelabelSettings(
2725 return null
2826 }
2927}
30-
31- /**
32- * Get the merged brand config for an org, combining instance env vars with org DB settings.
33- */
34- export async function getOrgBrandConfig ( orgId : string ) : Promise < BrandConfig > {
35- const orgSettings = await getOrgWhitelabelSettings ( orgId )
36- return mergeOrgBrandConfig ( orgSettings , getBrandConfig ( ) )
37- }
You can’t perform that action at this time.
0 commit comments