aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/api/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'pydis_site/apps/api/views.py')
-rw-r--r--pydis_site/apps/api/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/apps/api/views.py b/pydis_site/apps/api/views.py
index 05a2bb02..da0bfe49 100644
--- a/pydis_site/apps/api/views.py
+++ b/pydis_site/apps/api/views.py
@@ -348,7 +348,7 @@ class GitHubWebhookFilterView(APIView):
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},