fix(all): Libraries update.
This commit is contained in:
parent
2dcde51c95
commit
9d3d29d0c1
1 changed files with 4 additions and 0 deletions
|
@ -766,6 +766,9 @@ ENDPOINT_UPDATE=true
|
|||
if (!value){
|
||||
value = instance['dataValues'][name];
|
||||
}
|
||||
if (!value){
|
||||
value = instance[name];
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -784,6 +787,7 @@ ENDPOINT_UPDATE=true
|
|||
return new Number(value ? value : defaultValue ? defaultValue : 0).valueOf();
|
||||
}
|
||||
|
||||
|
||||
return value ?? defaultValue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue