fix: refs #7644 Update in print method #2961
|
@ -58,7 +58,7 @@ module.exports = Self => {
|
||||||
UPDATE buy
|
UPDATE buy
|
||||||
SET printedStickers = stickers
|
SET printedStickers = stickers
|
||||||
WHERE entryFk = ?
|
WHERE entryFk = ?
|
||||||
`, [id], options);
|
`, [id], myOptions);
|
||||||
|
|
||||||
return [await merger.saveAsBuffer(), 'application/pdf', `filename="entry-${id}.pdf"`];
|
return [await merger.saveAsBuffer(), 'application/pdf', `filename="entry-${id}.pdf"`];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue