Merge pull request 'refs #6832 fix: ToItem' (!2507) from 6832_refactorBackToItem into dev
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #2507
Reviewed-by: Javi Gallego <jgallego@verdnatura.es>
This commit is contained in:
Sergio De la torre 2024-06-03 05:39:59 +00:00
commit 9299d8f86c
1 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ module.exports = Self => {
accessType: 'READ',
accepts: [{
arg: 'barcode',
type: 'number',
type: 'string',
required: true,
description: 'barcode'
}],
@ -18,7 +18,7 @@ module.exports = Self => {
}
});
Self.toItem = async(barcode, options) => {
Self.toItem = async (barcode, options) => {
const myOptions = {};
if (typeof options == 'object')