fix: refs #7644 Update in print method #2961

Merged
guillermo merged 2 commits from 7644-updateInPrint into master 2024-09-16 05:11:46 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 635eb405a2 - Show all commits

View File

@ -58,7 +58,7 @@ module.exports = Self => {
UPDATE buy
SET printedStickers = stickers
WHERE entryFk = ?
`, [id], options);
`, [id], myOptions);
return [await merger.saveAsBuffer(), 'application/pdf', `filename="entry-${id}.pdf"`];
};