Fix duplicating apps

This commit is contained in:
Andrew Kingston 2024-12-16 16:58:58 +00:00
parent 4fd47b5908
commit d5eaa6ee3e
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@
} }
try { try {
const app = await API.duplicateApp(data, appId) const app = await API.duplicateApp(appId, data)
appsStore.load() appsStore.load()
if (!sdk.users.isBuilder($auth.user, app?.duplicateAppId)) { if (!sdk.users.isBuilder($auth.user, app?.duplicateAppId)) {
// Refresh for access to created applications // Refresh for access to created applications