This commit is contained in:
wayanrivan
2026-05-28 14:51:26 +07:00
parent bd04d8f472
commit 2796556bef

View File

@ -509,7 +509,7 @@ export class UserController {
}
});
if (!param.email) {
if (param.email != null || param.email != "") {
const email = await OrmHelper.DB.getRepository(User).findOne({
where: {
email: param.email,