#6276 createNewWarehouse methods migrated from silex to salix #1850

Merged
jorgep merged 158 commits from 6276-createNewWarehouse into dev 2024-03-06 11:32:11 +00:00
1 changed files with 5 additions and 2 deletions
Showing only changes of commit 1dfdd94584 - Show all commits

View File

@ -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
};
};
};