add html and subject to resending verification email

This commit is contained in:
andres
2023-08-15 19:09:28 +02:00
parent a32884227a
commit 02cd24da5f

View File

@@ -146,7 +146,7 @@ export class AuthController {
@HttpCode(HttpStatus.NO_CONTENT) @HttpCode(HttpStatus.NO_CONTENT)
@Post('resend-verification-email') @Post('resend-verification-email')
async resendVerificationEmail(@Body() body: ResendVerificationEmailDto): Promise<void> { async resendVerificationEmail(@Body() body: ResendVerificationEmailDto): Promise<void> {
return await this.commandBus.execute(new ResendVerificationEmailCommand(body.userId)) return await this.commandBus.execute(new ResendVerificationEmailCommand(body))
} }
@ApiOperation({ description: 'Sign current user out', summary: 'Sign current user out' }) @ApiOperation({ description: 'Sign current user out', summary: 'Sign current user out' })