Update index.js

This commit is contained in:
Stefan authored and GitHub committed 2023-11-10 18:14:11 +01:00
1 parent 9676607836
commit 84335b92ef
1 file changed
+1
+1
View File
@@ -142,6 +142,7 @@ async function main(data) {
sendMessage("[INFO]: Einsatdepesche wird Gedruckt - " + data.title, messageIDs);
}
axios.get("https://maker.ifttt.com/trigger/Einsatz/with/key/f4QUHDvvWTG9dOdTyBDDRMc2jxUCM-AUPpm7TkyKwQ_")
axios.get("https://maker.ifttt.com/trigger/Alarm/with/key/mDrKtS60Xz-BNP_XfBLFH5hZU_vGiBW6KlPSe6iP61f")
const filePath = cacheFolder + data.foreign_id + ".pdf";
await createPDF({ filePath, ...data });
console.log("PDF created, printing now");