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

Function renderCreditPurchaseEmail

apps/sim/components/emails/render.ts:204–217  ·  view source on GitHub ↗
(params: {
  userName?: string
  amount: number
  newBalance: number
})

Source from the content-addressed store, hash-verified

202}
203
204export async function renderCreditPurchaseEmail(params: {
205 userName?: string
206 amount: number
207 newBalance: number
208}): Promise<string> {
209 return await render(
210 CreditPurchaseEmail({
211 userName: params.userName,
212 amount: params.amount,
213 newBalance: params.newBalance,
214 purchaseDate: new Date(),
215 })
216 )
217}
218
219export async function renderWorkspaceInvitationEmail(
220 inviterName: string,

Callers 2

route.tsFile · 0.90

Calls 2

CreditPurchaseEmailFunction · 0.90
renderFunction · 0.50

Tested by

no test coverage detected