Function
renderOTPEmail
(
otp: string,
email: string,
type:
| 'sign-in'
| 'email-verification'
| 'change-email'
| 'forget-password' = 'email-verification',
chatTitle?: string
)
Source from the content-addressed store, hash-verified
| 37 | } |
| 38 | |
| 39 | export async function renderOTPEmail( |
| 40 | otp: string, |
| 41 | email: string, |
| 42 | type: |
| 43 | | 'sign-in' |
| 44 | | 'email-verification' |
| 45 | | 'change-email' |
| 46 | | 'forget-password' = 'email-verification', |
| 47 | chatTitle?: string |
| 48 | ): Promise<string> { |
| 49 | return await render(OTPVerificationEmail({ otp, email, type, chatTitle })) |
| 50 | } |
| 51 | |
| 52 | export async function renderExistingAccountEmail(username: string): Promise<string> { |
| 53 | return await render(ExistingAccountEmail({ username })) |
Tested by
no test coverage detected