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({
|
||||
where: {
|
||||
email: param.email,
|
||||
|
||||
Reference in New Issue
Block a user