fix(api): fix email verification endpoint not working when not authenticated

This commit is contained in:
isra el
2025-02-11 19:39:08 +03:00
parent 0be27d021d
commit d3e0bb5885

View File

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