changed wrong descriptions
This commit is contained in:
parent
2c7b9968eb
commit
f31be20bd3
|
@ -1,12 +1,12 @@
|
|||
module.exports = Self => {
|
||||
Self.remoteMethod('getTickets', {
|
||||
description: 'Updates the item taxes',
|
||||
description: 'Return the tickets information displayed on the route module',
|
||||
accessType: 'READ',
|
||||
accepts: [{
|
||||
arg: 'id',
|
||||
type: 'number',
|
||||
required: true,
|
||||
description: 'The item id',
|
||||
description: 'The route id',
|
||||
http: {source: 'path'}
|
||||
}],
|
||||
returns: {
|
||||
|
@ -52,7 +52,13 @@ module.exports = Self => {
|
|||
scope: {
|
||||
where: {observationTypeFk: 3}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
relation: 'address',
|
||||
scope: {
|
||||
fields: ['id', 'street', 'postcode', 'city'],
|
||||
}
|
||||
},
|
||||
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
module.exports = Self => {
|
||||
Self.remoteMethod('summary', {
|
||||
description: 'Updates the item taxes',
|
||||
description: 'Returns the information of a route showed in the route summary',
|
||||
accessType: 'READ',
|
||||
accepts: [{
|
||||
arg: 'id',
|
||||
type: 'number',
|
||||
required: true,
|
||||
description: 'The item id',
|
||||
description: 'The route id',
|
||||
http: {source: 'path'}
|
||||
}],
|
||||
returns: {
|
||||
|
|
Loading…
Reference in New Issue