Skip to content

Commit 107b9ab

Browse files
committed
fix testing our own PRs
1 parent 0cfb417 commit 107b9ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/decky_loader/updater.py

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

0 commit comments

Comments
 (0)