8062-testToMaster_2 #3059
|
@ -320,7 +320,8 @@ module.exports = Self => {
|
||||||
|
|
||||||
// Credit management changes
|
// 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);
|
await Self.changeCreditManagement(ctx, finalState, changes);
|
||||||
|
|
||||||
const oldInstance = {};
|
const oldInstance = {};
|
||||||
|
|
Loading…
Reference in New Issue