chore: refs #6900 beautify code
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Jorge Penadés 2024-08-09 11:48:22 +02:00
parent a4a45274af
commit 8ab049be0d
1 changed files with 2 additions and 2 deletions

View File

@ -157,8 +157,8 @@ module.exports = Self => {
case 'correctingFk':
if (!correcteds.length && !args.correctingFk) return;
return args.correctingFk
? {['ii.id']: {inq: correcteds.map(x => x.correctingFk)}}
: {['ii.id']: {nin: correcteds.map(x => x.correctingFk)}};
? {'ii.id': {inq: correcteds.map(x => x.correctingFk)}}
: {'ii.id': {nin: correcteds.map(x => x.correctingFk)}};
case 'correctedFk':
return {'ii.id': {inq: correctings.map(x => x.correctingFk)}};
case 'supplierActivityFk':