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