Skip to content

Commit

Permalink
Fix request utility returning argument error
Browse files Browse the repository at this point in the history
  • Loading branch information
IceBotYT committed Apr 24, 2023
1 parent 044a73f commit 0874ae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lacrosse_view/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ async def request(
async with session.request(method, url, **kwargs) as response:
data = await response.json()
else:
async with websession.post(method, url, **kwargs) as response:
async with websession.request(method, url, **kwargs) as response:
data = await response.json()

return response, data

0 comments on commit 0874ae5

Please sign in to comment.