#6276 createNewWarehouse methods migrated from silex to salix #1850
|
@ -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({
|
||||
|
|
Loading…
Reference in New Issue