mirror of
https://github.com/vernu/textbee.git
synced 2026-05-19 05:46:23 -04:00
fix(api): fix email verification endpoint not working when not authenticated
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user