add config prints
This commit is contained in:
1 parent
ef7ba03f9c
commit
63dfafe329
1 file changed
+1
-1
+1
-1
@@ -145,7 +145,7 @@ async function main(data) {
|
|||||||
await createPDF({ filePath, ...data });
|
await createPDF({ filePath, ...data });
|
||||||
console.log("PDF created, printing now");
|
console.log("PDF created, printing now");
|
||||||
console.log(cacheFolder + data.foreign_id + ".pdf");
|
console.log(cacheFolder + data.foreign_id + ".pdf");
|
||||||
await printFile(filePath, 2);
|
await printFile(filePath, config.prints || 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Express Server
|
// Express Server
|
||||||
|
|||||||
Reference in new issue
Block a user