Skip to content

Commit

Permalink
Pass Correct Parameters to HTTP requests.
Browse files Browse the repository at this point in the history
This change was necessary due to rebasing the feature branch onto the json-data fixes in #203.

Relates to #201.
  • Loading branch information
shoeffner committed Aug 24, 2024
1 parent c3b7a67 commit 6ccc193
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pyDataverse/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,16 +260,15 @@ def post_request(
return self._sync_request(
method=httpx.post,
url=url,
json=data,
headers=headers,
params=params,
files=files,
**request_params,
)
else:
return self._async_request(
method=self.client.post,
url=url,
json=data,
headers=headers,
params=params,
files=files,
Expand Down

0 comments on commit 6ccc193

Please sign in to comment.