#6276 createNewWarehouse methods migrated from silex to salix #1850
|
@ -3,7 +3,7 @@ module.exports = Self => {
|
|||
description: 'Retrieve the operator items',
|
||||
accessType: 'READ',
|
||||
returns: {
|
||||
type: 'string',
|
||||
type: 'object',
|
||||
},
|
||||
http: {
|
||||
path: `/getItemPackingType`,
|
||||
|
@ -23,6 +23,9 @@ module.exports = Self => {
|
|||
}
|
||||
});
|
||||
const itemPackingType = result.itemPackingType();
|
||||
return itemPackingType?.description;
|
||||
|
||||
return {
|
||||
description: itemPackingType?.description
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue