From 02cd24da5fb9348b002b3bfd3360854c6a54319b Mon Sep 17 00:00:00 2001 From: andres Date: Tue, 15 Aug 2023 19:09:28 +0200 Subject: [PATCH] add html and subject to resending verification email --- src/modules/auth/auth.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/auth/auth.controller.ts b/src/modules/auth/auth.controller.ts index 67d13e5..e616492 100644 --- a/src/modules/auth/auth.controller.ts +++ b/src/modules/auth/auth.controller.ts @@ -146,7 +146,7 @@ export class AuthController { @HttpCode(HttpStatus.NO_CONTENT) @Post('resend-verification-email') async resendVerificationEmail(@Body() body: ResendVerificationEmailDto): Promise { - 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' })