create login bugs
This commit is contained in:
parent
a2c2ed2a68
commit
732ef5a822
@ -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] };
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user