Merge pull request #79 from tycrek/fixed-webhooks-woops

pull/73/head
Josh Moore 3 years ago committed by GitHub
commit c917a35aa6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -110,7 +110,7 @@ router.post('/', (req, res, next) => {
log.debug('Upload response sent');
// After we have sent the user the response, also send a Webhook to Discord (if headers are present)
if (req.headers['x-ass-webhook-client'] && req.headers['x-ass-webhook-token']) {
if (req.headers['x-ass-webhook-url']) {
// Build the webhook
const hook = new Webhook(req.headers['x-ass-webhook-url']);

Loading…
Cancel
Save