Skip to content

Commit

Permalink
Merge pull request #425 from ayharano/replace-httpx-post-data-with-co…
Browse files Browse the repository at this point in the history
…ntent

Replace `httpx.post` `data` kwarg with `content`
  • Loading branch information
danielmorell committed Sep 1, 2023
2 parents 0581f2b + a16bad2 commit 9fe5f8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollbar/lib/_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ async def _post_api_httpx(path, payload_str, access_token=None):
) as client:
resp = await client.post(
url,
data=payload_str,
content=payload_str,
headers=headers,
timeout=rollbar.SETTINGS.get('timeout', DEFAULT_TIMEOUT),
)
Expand Down

0 comments on commit 9fe5f8e

Please sign in to comment.