fix bug
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -202,7 +202,7 @@ class Command(BaseCommand, LoggerMixin): | ... | @@ -202,7 +202,7 @@ class Command(BaseCommand, LoggerMixin): |
202 | @staticmethod | 202 | @staticmethod |
203 | async def fetch_bc_name_result(url, json_data): | 203 | async def fetch_bc_name_result(url, json_data): |
204 | async with aiohttp.ClientSession(connector=aiohttp.TCPConnector(ssl=False)) as session: | 204 | async with aiohttp.ClientSession(connector=aiohttp.TCPConnector(ssl=False)) as session: |
205 | async with session.post(url, data=json_data) as response: | 205 | async with session.post(url, json=json_data) as response: |
206 | if response.status == 200: | 206 | if response.status == 200: |
207 | return await response.json() | 207 | return await response.json() |
208 | 208 | ... | ... |
-
Please register or sign in to post a comment