This commit is contained in:
parent
f8b3db7023
commit
1c0e148233
|
@ -320,7 +320,8 @@ module.exports = Self => {
|
|||
|
||||
// Credit management changes
|
||||
|
||||
if (changes?.rating >= 0 || changes?.recommendedCredit >= 0)
|
||||
if ((changes?.rating != null && changes.rating >= 0)
|
||||
|| (changes?.recommendedCredit != null && changes.recommendedCredit >= 0))
|
||||
await Self.changeCreditManagement(ctx, finalState, changes);
|
||||
|
||||
const oldInstance = {};
|
||||
|
|
Loading…
Reference in New Issue