Skip to content

Commit

Permalink
fix: add json(content_type=None) to fix bing_x content-type
Browse files Browse the repository at this point in the history
  • Loading branch information
fibonacci998 committed Nov 14, 2023
1 parent ecd6ec1 commit 634d939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hummingbot/core/web_assistant/connections/data_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def headers(self) -> Optional[Mapping[str, str]]:
return headers_

async def json(self) -> Any:
json_ = await self._aiohttp_response.json()
json_ = await self._aiohttp_response.json(content_type=None)
return json_

async def text(self) -> str:
Expand Down

0 comments on commit 634d939

Please sign in to comment.