Fix check

This commit is contained in:
Adria Navarro 2024-10-22 10:25:09 +02:00
parent 87dbe66ccc
commit cb5082a0c0
1 changed files with 1 additions and 2 deletions

View File

@ -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!)
}