aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src/plugins
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2023-05-11 18:58:34 +0200
committerGitHub <noreply@github.com>2023-05-11 18:58:34 +0200
commit563ef75103a12b08279466502e04413f1060f2fc (patch)
treeda898aa22adb6504ec8f86026da260c37614daae /src-vue/src/plugins
parentb2fb949a53edef646655908f4e6f16cd81616bd7 (diff)
downloadFlightCore-563ef75103a12b08279466502e04413f1060f2fc.tar.gz
FlightCore-563ef75103a12b08279466502e04413f1060f2fc.zip
fix: Pass correct argument to `get_launcher_download_link` (#344)
Diffstat (limited to 'src-vue/src/plugins')
-rw-r--r--src-vue/src/plugins/modules/pull_requests.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-vue/src/plugins/modules/pull_requests.ts b/src-vue/src/plugins/modules/pull_requests.ts
index ff9ec322..57d5fa07 100644
--- a/src-vue/src/plugins/modules/pull_requests.ts
+++ b/src-vue/src/plugins/modules/pull_requests.ts
@@ -37,7 +37,7 @@ export const pullRequestModule = {
});
},
async downloadLauncherPR(state: PullRequestStoreState, pull_request: PullsApiResponseElement) {
- await invoke<string>("get_launcher_download_link", { pullRequest: pull_request })
+ await invoke<string>("get_launcher_download_link", { commitSha: pull_request.head.sha })
.then((url) => {
// Open URL in default HTTPS handler (i.e. default browser)
shell.open(url);