a
This commit is contained in:
parent
8ca7364c7f
commit
eba2fce49b
@ -60,10 +60,10 @@ async function loginWithPhone(req, res, next) {
|
|||||||
if (_user) {
|
if (_user) {
|
||||||
_user = _user.toJSON();
|
_user = _user.toJSON();
|
||||||
if (appVersion) {
|
if (appVersion) {
|
||||||
if (user.app_version != appVersion) {
|
if (_user.app_version != appVersion) {
|
||||||
const result = userService._updateAppVersionUser(user.id, appVersion);
|
const result = userService._updateAppVersionUser(_user.id, appVersion);
|
||||||
console.log('PRUEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEBA>>>> ', result);
|
console.log('PRUEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEBA>>>> ', result);
|
||||||
user.app_version = appVersion;
|
_user.app_version = appVersion;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user