You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Occasionally the library will throw an error for the aiohttp not being able to decode the response. I solved this by changing the 'content_type=None' parameter in the get_swap_instructions method:
try:
async with aiohttp.ClientSession() as session:
async with session.get(url, params=params) as response:
data = await response.json(content_type=None)
The text was updated successfully, but these errors were encountered:
Occasionally the library will throw an error for the aiohttp not being able to decode the response. I solved this by changing the 'content_type=None' parameter in the get_swap_instructions method:
The text was updated successfully, but these errors were encountered: