Ammends
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
87ae05c997
commit
52e5c6bc6b
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue