fix: updateTracking refs #6276
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Jorge Penadés 2024-01-04 12:35:00 +01:00
parent 384d9ec803
commit da8057e4c7
1 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ module.exports = Self => {
},
{
arg: 'isScanned',
type: 'number',
type: 'boolean',
},
],
http: {
@ -64,7 +64,7 @@ module.exports = Self => {
originalQuantity,
workerFk: userId,
stateFk: state.id,
isScanned,
isScanned: isScanned === undefined ? null : isScanned,
};
const saleTracking = await models.SaleTracking.findOne({