Switches data to content to upload raw bytes/text content
This commit is contained in:
@@ -632,7 +632,7 @@ def send_webhook(
|
|||||||
else:
|
else:
|
||||||
httpx.post(
|
httpx.post(
|
||||||
url,
|
url,
|
||||||
data=data,
|
content=data,
|
||||||
files=files,
|
files=files,
|
||||||
headers=headers,
|
headers=headers,
|
||||||
).raise_for_status()
|
).raise_for_status()
|
||||||
|
|||||||
Reference in New Issue
Block a user