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