mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-06-17 08:47:49 +00:00
fix incorrect parameter order
This commit is contained in:
@@ -197,7 +197,7 @@ class Utilities:
|
|||||||
self.logger.debug(f"Finished stream for {url}")
|
self.logger.debug(f"Finished stream for {url}")
|
||||||
return res
|
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:
|
async with ClientSession() as web:
|
||||||
res = await web.request(method, url, ssl=helpers.get_ssl_context(), **extra_opts)
|
res = await web.request(method, url, ssl=helpers.get_ssl_context(), **extra_opts)
|
||||||
text = await res.text()
|
text = await res.text()
|
||||||
|
|||||||
Reference in New Issue
Block a user