Skip to content

Commit 785ef02

Browse files
authored
fix testing our own PRs
1 parent 5d77577 commit 785ef02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/src/updater.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ async def download_testing_version(self, pr_id: int, sha_id: str):
289289
#Get all the associated workflow run for the given sha_id code hash
290290
async with ClientSession() as web:
291291
async with web.request("GET", "https://api.github.com/repos/SteamDeckHomebrew/decky-loader/actions/runs",
292-
headers={'X-GitHub-Api-Version': '2022-11-28'}, params={'event':'pull_request', 'head_sha': sha_id}, ssl=helpers.get_ssl_context()) as res:
292+
headers={'X-GitHub-Api-Version': '2022-11-28'}, params={'head_sha': sha_id}, ssl=helpers.get_ssl_context()) as res:
293293
works = await res.json()
294294
#Iterate over the workflow_run to get the two builds if they exists
295295
for work in works['workflow_runs']:

0 commit comments

Comments
 (0)