|
|
@ -157,7 +157,6 @@ export class AuthController { |
|
|
@ApiOperation({ summary: 'Verify Email' }) |
|
|
@ApiOperation({ summary: 'Verify Email' }) |
|
|
@HttpCode(HttpStatus.OK) |
|
|
@HttpCode(HttpStatus.OK) |
|
|
@ApiBearerAuth() |
|
|
@ApiBearerAuth() |
|
|
@UseGuards(AuthGuard) |
|
|
|
|
|
@Post('/verify-email') |
|
|
@Post('/verify-email') |
|
|
async verifyEmail(@Body() input: { userId: string; verificationCode: string }) { |
|
|
async verifyEmail(@Body() input: { userId: string; verificationCode: string }) { |
|
|
return await this.authService.verifyEmail(input) |
|
|
return await this.authService.verifyEmail(input) |
|
|
|