hotFix(invoiceInPdf): fix accessScopes
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2024-05-10 14:58:52 +02:00
parent 85aa4fae08
commit a7910d9894
1 changed files with 2 additions and 1 deletions

View File

@ -29,7 +29,8 @@ module.exports = Self => {
http: {
path: '/:id/invoice-in-pdf',
verb: 'GET'
}
},
accessScopes: ['DEFAULT', 'read:multimedia']
});
Self.invoiceInPdf = (ctx, id) => Self.printReport(ctx, id, 'invoiceIn');