Don't call webhooks twice

This commit is contained in:
Ajay Ramachandran
2020-09-13 18:27:02 -04:00
parent 0839c6b6f9
commit 70a526fb4f

View File

@@ -410,9 +410,6 @@ module.exports = async function postSkipSegments(req, res) {
return; return;
} }
// Discord notification
sendWebhooks(userID, videoID, UUID, segmentInfo);
UUIDs.push(UUID); UUIDs.push(UUID);
} }
} catch (err) { } catch (err) {