From 563ef75103a12b08279466502e04413f1060f2fc Mon Sep 17 00:00:00 2001 From: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> Date: Thu, 11 May 2023 18:58:34 +0200 Subject: fix: Pass correct argument to `get_launcher_download_link` (#344) --- src-vue/src/plugins/modules/pull_requests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src-vue/src') 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("get_launcher_download_link", { pullRequest: pull_request }) + await invoke("get_launcher_download_link", { commitSha: pull_request.head.sha }) .then((url) => { // Open URL in default HTTPS handler (i.e. default browser) shell.open(url); -- cgit v1.2.3