mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-07 12:07:07 +03:00
Merge pull request #142 from ajayyy/experimental
Don't call webhooks twice
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user