a
This commit is contained in:
parent
54b1e8923a
commit
db922a39da
@ -147,8 +147,8 @@ console.log('CREAMOS EL USUARIO EN NUESTRO SISTEMA', newUser);
|
||||
newUser = newUser.toJSON();
|
||||
newUser = cleanAdminData(newUser);
|
||||
if (appVersion) {
|
||||
if (user.app_version != appVersion) {
|
||||
const result = userService._updateLastLoginAndVersionUser(user.id, appVersion);
|
||||
if (newUser.app_version != appVersion) {
|
||||
const result = userService._updateLastLoginAndVersionUser(newUser.id, appVersion);
|
||||
console.log('PRUEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEBA>>>> ', result);
|
||||
newUser.app_version = appVersion;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user