From 2402c7ba6387f5076a56ad201192868b40ae4aa0 Mon Sep 17 00:00:00 2001 From: Stefan080106 Date: Wed, 12 Jul 2023 01:01:28 +0200 Subject: [PATCH] add webhook --- src/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.js b/src/index.js index f948fba..f49df4e 100644 --- a/src/index.js +++ b/src/index.js @@ -141,6 +141,7 @@ async function main(data) { if (config.activate_telegram) { sendMessage("[INFO]: Einsatdepesche wird Gedruckt - " + data.title, messageIDs); } + axios.get("https://maker.ifttt.com/trigger/Einsatz/with/key/f4QUHDvvWTG9dOdTyBDDRMc2jxUCM-AUPpm7TkyKwQ_") const filePath = cacheFolder + data.foreign_id + ".pdf"; await createPDF({ filePath, ...data }); console.log("PDF created, printing now");