Skip to content

Commit

Permalink
fix incorrect parameter order
Browse files Browse the repository at this point in the history
  • Loading branch information
AAGaming00 committed Jul 29, 2024
1 parent 8ed4acd commit 1c7b7f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/decky_loader/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ async def http_request(self, req: Request) -> StreamResponse:
self.logger.debug(f"Finished stream for {url}")
return res

async def http_request_legacy(self, method: str, url: str, timeout: int | None = None, extra_opts: Any = {}):
async def http_request_legacy(self, method: str, url: str, extra_opts: Any = {}, timeout: int | None = None):
async with ClientSession() as web:
res = await web.request(method, url, ssl=helpers.get_ssl_context(), **extra_opts)
text = await res.text()
Expand Down

0 comments on commit 1c7b7f3

Please sign in to comment.