summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAAGaming <aagaming@riseup.net>2024-06-27 00:38:31 -0400
committerGitHub <noreply@github.com>2024-06-27 00:38:31 -0400
commit785ef02b7c76108148b12898ce5753e954759efe (patch)
tree7efc7b8d82f4d943a582f0efb2bebd430a7376c1
parent5d77577ef5aeedc4eb51ce545305977b4ad5fc5b (diff)
downloaddecky-loader-v2.tar.gz
decky-loader-v2.zip
fix testing our own PRsv2.12.4-pre1v2
-rw-r--r--backend/src/updater.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/src/updater.py b/backend/src/updater.py
index f646e593..4de8812f 100644
--- a/backend/src/updater.py
+++ b/backend/src/updater.py
@@ -289,7 +289,7 @@ class Updater:
#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']: