mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-17 03:56:31 +01:00
Fix: Switches data to content to upload raw bytes/text content (#9293)
This commit is contained in:
parent
d82555e644
commit
817aad7c8b
2 changed files with 2 additions and 2 deletions
|
|
@ -632,7 +632,7 @@ def send_webhook(
|
|||
else:
|
||||
httpx.post(
|
||||
url,
|
||||
data=data,
|
||||
content=data,
|
||||
files=files,
|
||||
headers=headers,
|
||||
).raise_for_status()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue