refs #6276:mdify back silex→salix
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
68ef193a19
commit
365e05d560
|
@ -10,3 +10,5 @@ INSERT INTO `salix`.`ACL` (model, property, accessType, permission, principalTyp
|
|||
('SaleTracking','mark','WRITE','ALLOW','ROLE','employee'),
|
||||
('ItemBarcode','deleteByItemAndCode','WRITE','ALLOW','ROLE','employee'),
|
||||
('Collection','addItem','WRITE','ALLOW','ROLE','employee');
|
||||
('ExpeditionPallet', '*', 'READ', 'ALLOW', 'ROLE', 'production');
|
||||
|
|
@ -7,7 +7,7 @@ module.exports = Self => {
|
|||
verb: 'GET'
|
||||
},
|
||||
returns: {
|
||||
type: 'object',
|
||||
type: ['object'],
|
||||
},
|
||||
});
|
||||
|
||||
|
@ -30,10 +30,11 @@ module.exports = Self => {
|
|||
|
||||
if (operator) {
|
||||
const printer = operator.printer();
|
||||
return {
|
||||
console.log({
|
||||
id: printer.id,
|
||||
name: printer.name
|
||||
};
|
||||
});
|
||||
return Array.isArray(printer) ? printer : [printer];
|
||||
}
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue