mirror of
https://github.com/ershisan99/flashcards-api.git
synced 2025-12-16 20:59:26 +00:00
add html and subject to resending verification email
This commit is contained in:
@@ -146,7 +146,7 @@ export class AuthController {
|
||||
@HttpCode(HttpStatus.NO_CONTENT)
|
||||
@Post('resend-verification-email')
|
||||
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' })
|
||||
|
||||
Reference in New Issue
Block a user