aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2024-08-03 17:24:40 +0200
committerGravatar Johannes Christ <[email protected]>2024-08-03 17:24:40 +0200
commit8a69a171a45969c333461b083a4e85d8d0ead5ae (patch)
tree021e1caa5018e6923119b83b3f4272942511cb53 /pydis_site/apps
parentMerge remote-tracking branch 'origin/fix/resources-payment-tiers' (diff)
parentRemove unnecessary S310 noqa (diff)
Merge remote-tracking branch 'origin/dependabot/pip/ruff-0.5.2'
Diffstat (limited to 'pydis_site/apps')
-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},