create login bugs

This commit is contained in:
Kallesh B S 2025-08-26 16:33:11 +05:30
parent a2c2ed2a68
commit 732ef5a822

View File

@ -395,7 +395,7 @@ export class UserMaintenanceService {
const mailRes = await this.authService.sendMail({ P_TO: body.P_USERID, P_MAIL_TYPE: MailTypeDTO.REGISTER_CLIENT }) const mailRes = await this.authService.sendMail({ P_TO: body.P_USERID, P_MAIL_TYPE: MailTypeDTO.REGISTER_CLIENT })
if (mailRes.statusCode !== 200) { if (mailRes.statusCode !== 200) {
return new InternalServerException(); throw new InternalServerException();
} }
return { statusCode: 201, message: "Client registration initiated successfully", ...fres[0] }; return { statusCode: 201, message: "Client registration initiated successfully", ...fres[0] };