Skip to content

Commit

Permalink
Fix api
Browse files Browse the repository at this point in the history
  • Loading branch information
iakat committed Oct 5, 2023
1 parent 081f899 commit 317d5e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adsb_api/utils/reapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ async def request(self, params, client_ip=None):
async with aiohttp.ClientSession(timeout=timeout) as session:
async with session.get(url) as response:
response.raise_for_status()
return orjson.loads((await response.text()))
return await response.text()


if __name__ == "__main__":
Expand Down

0 comments on commit 317d5e9

Please sign in to comment.