fixed webhooks oops

pull/79/head
tycrek 3 years ago
parent 469e8cd9a4
commit 26219b7cf7
No known key found for this signature in database
GPG Key ID: 25D74F3943625263

@ -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