Skip to content

Commit bc7d0cb

Browse files
markiskevin1024
authored andcommitted
fix: address json kwarg propagation
1 parent 1fb6815 commit bc7d0cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vcr/stubs/aiohttp_stubs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ async def new_request(self, method, url, **kwargs):
245245
headers = kwargs.get("headers")
246246
auth = kwargs.get("auth")
247247
headers = self._prepare_headers(headers)
248-
data = kwargs.get("data", kwargs.get("json"))
248+
data = kwargs.get("json", kwargs.get("data"))
249249
params = kwargs.get("params")
250250
cookies = kwargs.get("cookies")
251251

0 commit comments

Comments
 (0)