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 => { module.exports = Self => {
Self.remoteMethodCtx('invoiceInPdf', { Self.remoteMethodCtx('invoiceInPdf', {
description: 'Returns the delivery note pdf', description: 'Returns the invoiceIn pdf',
accessType: 'READ', accessType: 'READ',
accepts: [ accepts: [
{ {
arg: 'id', arg: 'id',
type: 'number', type: 'number',
required: true, required: true,
description: 'The ticket id', description: 'The invoiceIn id',
http: {source: 'path'} http: {source: 'path'}
} }
], ],

View File

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