refs #6276 fix getItemPackingType
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
4690dca4f9
commit
1dfdd94584
|
@ -3,7 +3,7 @@ module.exports = Self => {
|
||||||
description: 'Retrieve the operator items',
|
description: 'Retrieve the operator items',
|
||||||
accessType: 'READ',
|
accessType: 'READ',
|
||||||
returns: {
|
returns: {
|
||||||
type: 'string',
|
type: 'object',
|
||||||
},
|
},
|
||||||
http: {
|
http: {
|
||||||
path: `/getItemPackingType`,
|
path: `/getItemPackingType`,
|
||||||
|
@ -23,6 +23,9 @@ module.exports = Self => {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
const itemPackingType = result.itemPackingType();
|
const itemPackingType = result.itemPackingType();
|
||||||
return itemPackingType?.description;
|
|
||||||
|
return {
|
||||||
|
description: itemPackingType?.description
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue