Update only for templates

This commit is contained in:
Adria Navarro 2024-10-22 13:01:33 +02:00
parent 77c4140e76
commit 838d11e253
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ async function performAppCreate(ctx: UserCtx<CreateAppRequest, App>) {
const instance = await createInstance(appId, instanceConfig)
const db = context.getAppDB()
if (instanceConfig.useTemplate) {
if (instanceConfig.useTemplate && !instanceConfig.file) {
await updateUserColumns(appId, db, ctx.user._id!)
}