mirror of
https://github.com/ershisan99/flashcards-api.git
synced 2025-12-17 05:09:26 +00:00
fix token replacement
This commit is contained in:
@@ -41,7 +41,7 @@ export class UsersService {
|
||||
html?: string
|
||||
subject?: string
|
||||
}) {
|
||||
const htmlFinal = html.replace('##token##', verificationToken)?.replace('##name##', name)
|
||||
const htmlFinal = html.replaceAll('##token##', verificationToken)?.replaceAll('##name##', name)
|
||||
|
||||
try {
|
||||
await this.emailService.sendMail({
|
||||
|
||||
Reference in New Issue
Block a user