diff --git a/pydis_site/apps/api/views.py b/pydis_site/apps/api/views.py index 05a2bb028..da0bfe498 100644 --- a/pydis_site/apps/api/views.py +++ b/pydis_site/apps/api/views.py @@ -348,7 +348,7 @@ def send_webhook( headers.pop('Content-Length', None) headers.pop('Content-Type', None) headers.pop('Host', None) - request = urllib.request.Request( # noqa: S310 + request = urllib.request.Request( f'https://discord.com/api/webhooks/{webhook_id}/{webhook_token}/github?wait=1', data=payload, headers={'Content-Type': 'application/json', **headers},