Fix check
This commit is contained in:
parent
87dbe66ccc
commit
cb5082a0c0
|
@ -284,8 +284,7 @@ async function performAppCreate(ctx: UserCtx<CreateAppRequest, App>) {
|
|||
const instance = await createInstance(appId, instanceConfig)
|
||||
const db = context.getAppDB()
|
||||
|
||||
const isTemplate = instanceConfig.templateString
|
||||
if (!isTemplate) {
|
||||
if (instanceConfig.useTemplate) {
|
||||
await updateUserColumns(appId, db, ctx.user._id!)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue