Skip to content

Commit

Permalink
Remove unnecessary S310 noqa
Browse files Browse the repository at this point in the history
  • Loading branch information
wookie184 authored Jul 18, 2024
1 parent 336427d commit 7078f09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydis_site/apps/api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down

0 comments on commit 7078f09

Please sign in to comment.