diff --git a/backend/src/updater.py b/backend/src/updater.py index f646e5936..4de8812ff 100644 --- a/backend/src/updater.py +++ b/backend/src/updater.py @@ -289,7 +289,7 @@ async def download_testing_version(self, pr_id: int, sha_id: str): #Get all the associated workflow run for the given sha_id code hash async with ClientSession() as web: async with web.request("GET", "https://api.github.com/repos/SteamDeckHomebrew/decky-loader/actions/runs", - headers={'X-GitHub-Api-Version': '2022-11-28'}, params={'event':'pull_request', 'head_sha': sha_id}, ssl=helpers.get_ssl_context()) as res: + headers={'X-GitHub-Api-Version': '2022-11-28'}, params={'head_sha': sha_id}, ssl=helpers.get_ssl_context()) as res: works = await res.json() #Iterate over the workflow_run to get the two builds if they exists for work in works['workflow_runs']: