feat: add verify otp endpoint
This commit is contained in:
@@ -20,7 +20,7 @@ export class AuthController {
|
||||
|
||||
@Post('verify-otp')
|
||||
@HttpCode(200)
|
||||
public verifyOTP(@Body() verifyOtpDto: VerifyOtpDTO) {
|
||||
return verifyOtpDto;
|
||||
public async verifyOTP(@Body() verifyOtpDto: VerifyOtpDTO) {
|
||||
return await this.authService.verifyOTP(verifyOtpDto);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user