1
0
forked from Yara724/api

Showing a valid message while the OTP is still valid, instead of 400

This commit is contained in:
SepehrYahyaee
2026-05-30 11:37:09 +03:30
parent 245160bfc2
commit da298a3350
5 changed files with 11 additions and 5 deletions

View File

@@ -30,6 +30,7 @@ export class UserAuthController {
linkToken: body.linkToken,
linkContext: body.linkContext,
});
if (res) {
throw new HttpException(res, HttpStatus.ACCEPTED);
}