typo
gitea/salix/pipeline/head This commit is unstable Details

This commit is contained in:
Alex Moreno 2022-11-02 13:55:06 +01:00
parent 2c3b735650
commit 59e66e1f49
2 changed files with 3 additions and 3 deletions

View File

@ -2,14 +2,14 @@ const {Report} = require('vn-print');
module.exports = Self => {
Self.remoteMethodCtx('invoiceInPdf', {
description: 'Returns the delivery note pdf',
description: 'Returns the invoiceIn pdf',
accessType: 'READ',
accepts: [
{
arg: 'id',
type: 'number',
required: true,
description: 'The ticket id',
description: 'The invoiceIn id',
http: {source: 'path'}
}
],

View File

@ -87,7 +87,7 @@ module.exports = {
},
props: {
id: {
type: [Number, String],
type: Number,
description: 'The invoice id'
}
}