This commit is contained in:
2023-07-18 17:44:15 +02:00
parent 75361abc82
commit dc01065792

View File

@@ -9,7 +9,7 @@ export class RecoverPasswordDto {
@ApiProperty({ @ApiProperty({
description: `HTML template to be sent in the email;\n ##name## will be replaced with the user's name; \n ##token## will be replaced with the password recovery token`, description: `HTML template to be sent in the email;\n ##name## will be replaced with the user's name; \n ##token## will be replaced with the password recovery token`,
example: example:
'<h1>Hi, ##name#</h1><p>Click <a href="##token##">here</a> to recover your password</p>', '<h1>Hi, ##name##</h1><p>Click <a href="##token##">here</a> to recover your password</p>',
}) })
@IsString() @IsString()
@IsOptional() @IsOptional()