Fix duplicating apps
This commit is contained in:
parent
4fd47b5908
commit
d5eaa6ee3e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue