From a2a7e591e8579d9ac58b27a2567bb893aaac8182 Mon Sep 17 00:00:00 2001 From: tariqksoliman Date: Wed, 20 Sep 2023 13:39:20 -0700 Subject: [PATCH] Remove odd duplicate triggerWebhookds --- API/Backend/Draw/routes/files.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/API/Backend/Draw/routes/files.js b/API/Backend/Draw/routes/files.js index 6262b169..f0d4f4cf 100644 --- a/API/Backend/Draw/routes/files.js +++ b/API/Backend/Draw/routes/files.js @@ -252,10 +252,6 @@ router.post("/make", function (req, res, next) { id: created.id, res, }); - triggerWebhooks("drawFileAdd", { - id: created.id, - res, - }); return null; }) .catch((err) => { @@ -304,10 +300,6 @@ router.post("/make", function (req, res, next) { id: created.id, res, }); - triggerWebhooks("drawFileAdd", { - id: created.id, - res, - }); } return null;