MCPcopy Index your code
hub / github.com/simstudioai/sim / getLimitEmailSubject

Function getLimitEmailSubject

apps/sim/components/emails/subjects.ts:89–94  ·  view source on GitHub ↗
(reason: UpgradeReason, kind: 'warning' | 'reached')

Source from the content-addressed store, hash-verified

87 * upgrade-page header the user lands on.
88 */
89export function getLimitEmailSubject(reason: UpgradeReason, kind: 'warning' | 'reached'): string {
90 const brandName = getBrandConfig().name
91 const copy = UPGRADE_REASON_COPY[reason]
92 const subject = kind === 'reached' ? copy.reachedSubject : copy.warningSubject
93 return `${subject} on ${brandName}`
94}

Callers 1

Calls 1

getBrandConfigFunction · 0.90

Tested by

no test coverage detected