diff --git a/services/userService.js b/services/userService.js index 3e2a0ae..cc69f09 100644 --- a/services/userService.js +++ b/services/userService.js @@ -17,8 +17,8 @@ try{ // var t = await sequelize.transaction() var queryData = [ {userMobile:data.userMobile}, - {loginName:data.loginName }, - {userEmail:data.userEmail } + {loginName:data.loginName } + //{userEmail:data.userEmail } ] let oldUser = await userModel.find({where:{$or:queryData}},) if(oldUser){