Skip to content

Commit

Permalink
Remove odd duplicate triggerWebhookds
Browse files Browse the repository at this point in the history
  • Loading branch information
tariqksoliman committed Sep 20, 2023
1 parent 50472e1 commit a2a7e59
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions API/Backend/Draw/routes/files.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down Expand Up @@ -304,10 +300,6 @@ router.post("/make", function (req, res, next) {
id: created.id,
res,
});
triggerWebhooks("drawFileAdd", {
id: created.id,
res,
});
}

return null;
Expand Down

0 comments on commit a2a7e59

Please sign in to comment.