Merge branch 'dev' of https://gitea.verdnatura.es/verdnatura/salix into 6889-dropAddSaleByCode
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Jorge Penadés 2024-06-03 08:30:41 +02:00
commit 68bb282659
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')