fix token replacement

This commit is contained in:
andres
2023-07-21 19:37:24 +02:00
parent b7d87b2fef
commit 8e374fbaa4
2 changed files with 2 additions and 2 deletions

View File

@@ -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({