From 70a526fb4ff45a54bb86f9ba5fa19e1875a06eae Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Sun, 13 Sep 2020 18:27:02 -0400 Subject: [PATCH] Don't call webhooks twice --- src/routes/postSkipSegments.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/routes/postSkipSegments.js b/src/routes/postSkipSegments.js index ab80d25..ae3822a 100644 --- a/src/routes/postSkipSegments.js +++ b/src/routes/postSkipSegments.js @@ -410,9 +410,6 @@ module.exports = async function postSkipSegments(req, res) { return; } - // Discord notification - sendWebhooks(userID, videoID, UUID, segmentInfo); - UUIDs.push(UUID); } } catch (err) {