mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
Fix body handling for aiohttp
This commit is contained in:
parent
d83106fdee
commit
1cb633d99d
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ class AiohttpSession(BaseSession):
|
|||
if json is not None:
|
||||
kwargs['json'] = json
|
||||
if body is not None:
|
||||
kwargs['body'] = body
|
||||
kwargs['data'] = body
|
||||
|
||||
try:
|
||||
logger.debug('send request', method=method, url=url, kwargs=kwargs)
|
||||
|
|
Loading…
Add table
Reference in a new issue