update
This commit is contained in:
@ -509,7 +509,7 @@ export class UserController {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!param.email) {
|
if (param.email != null || param.email != "") {
|
||||||
const email = await OrmHelper.DB.getRepository(User).findOne({
|
const email = await OrmHelper.DB.getRepository(User).findOne({
|
||||||
where: {
|
where: {
|
||||||
email: param.email,
|
email: param.email,
|
||||||
|
|||||||
Reference in New Issue
Block a user