Ammends
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2022-02-01 13:01:56 +01:00
parent 87ae05c997
commit 52e5c6bc6b
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ const mergeFilters = require('vn-loopback/util/filter').mergeFilters;
module.exports = Self => { module.exports = Self => {
Self.remoteMethod('lastItemBuys', { Self.remoteMethod('lastItemBuys', {
description: 'Returns a list of buys', description: 'Returns a list of items from last buys',
accepts: [ accepts: [
{ {
arg: 'id', arg: 'id',
@ -46,7 +46,7 @@ module.exports = Self => {
fields: ['warehouseInFk', 'landed'], fields: ['warehouseInFk', 'landed'],
} }
}] }]
}); }, myOptions);
const travel = entry.travel(); const travel = entry.travel();