feat: add verify otp endpoint

This commit is contained in:
2026-02-26 09:14:30 +03:30
parent b9adbef7e8
commit 8212ede785
7 changed files with 65 additions and 7 deletions
+2 -2
View File
@@ -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);
}
}