Skip to content

Commit 9fe5f8e

Browse files
authored
Merge pull request #425 from ayharano/replace-httpx-post-data-with-content
Replace `httpx.post` `data` kwarg with `content`
2 parents 0581f2b + a16bad2 commit 9fe5f8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rollbar/lib/_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ async def _post_api_httpx(path, payload_str, access_token=None):
139139
) as client:
140140
resp = await client.post(
141141
url,
142-
data=payload_str,
142+
content=payload_str,
143143
headers=headers,
144144
timeout=rollbar.SETTINGS.get('timeout', DEFAULT_TIMEOUT),
145145
)

0 commit comments

Comments
 (0)