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' })