refactor: refs #7950 Requested changes
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Guillermo Bonet 2024-11-12 14:54:11 +01:00
parent 6427a90c44
commit 3c8ef7cdba
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ module.exports = Self => {
if (hasDmsCmr.length)
throw new UserError('This ticket already has a cmr saved');
ctx.args.id = ticket.$cmrFk;
Object.assign(ctx.args, {id: ticket.$cmrFk});
const response = await models.Cmr.print(ctx, myOptions);
const pdfStream = Readable.from(Buffer.from(response[0]));
const data = {