From d5eaa6ee3ed19d58256a3bc22ef0970dfa41c335 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Mon, 16 Dec 2024 16:58:58 +0000 Subject: [PATCH] Fix duplicating apps --- packages/builder/src/components/start/DuplicateAppModal.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/builder/src/components/start/DuplicateAppModal.svelte b/packages/builder/src/components/start/DuplicateAppModal.svelte index 0db92ff76d..79d91e35bb 100644 --- a/packages/builder/src/components/start/DuplicateAppModal.svelte +++ b/packages/builder/src/components/start/DuplicateAppModal.svelte @@ -68,7 +68,7 @@ } try { - const app = await API.duplicateApp(data, appId) + const app = await API.duplicateApp(appId, data) appsStore.load() if (!sdk.users.isBuilder($auth.user, app?.duplicateAppId)) { // Refresh for access to created applications