From 26219b7cf7d9d9455407add52056ade2f3695ed3 Mon Sep 17 00:00:00 2001 From: tycrek Date: Fri, 1 Oct 2021 12:00:20 -0600 Subject: [PATCH] fixed webhooks oops --- routers/upload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/upload.js b/routers/upload.js index 6cd87c7..a09cc55 100644 --- a/routers/upload.js +++ b/routers/upload.js @@ -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']);