Skip to content

Commit 6c2c0ae

Browse files
committed
remove dead code
1 parent f73ccea commit 6c2c0ae

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

apps/sim/ee/whitelabeling/org-branding.ts

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@ import { db } from '@sim/db'
22
import { organization } from '@sim/db/schema'
33
import { createLogger } from '@sim/logger'
44
import { 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

97
const 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-
}

0 commit comments

Comments
 (0)