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

Function renderPlanWelcomeEmail

apps/sim/components/emails/render.ts:170–182  ·  view source on GitHub ↗
(params: {
  planName: string
  userName?: string
  loginLink?: string
})

Source from the content-addressed store, hash-verified

168}
169
170export async function renderPlanWelcomeEmail(params: {
171 planName: string
172 userName?: string
173 loginLink?: string
174}): Promise<string> {
175 return await render(
176 PlanWelcomeEmail({
177 planName: params.planName,
178 userName: params.userName,
179 loginLink: params.loginLink,
180 })
181 )
182}
183
184export async function renderWelcomeEmail(userName?: string): Promise<string> {
185 return await render(WelcomeEmail({ userName }))

Callers 2

route.tsFile · 0.90
sendPlanWelcomeEmailFunction · 0.85

Calls 2

PlanWelcomeEmailFunction · 0.90
renderFunction · 0.50

Tested by

no test coverage detected