Skip to content

Commit

Permalink
Fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
adrinr committed Oct 22, 2024
1 parent 87dbe66 commit cb5082a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/server/src/api/controllers/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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!)
}

Expand Down

0 comments on commit cb5082a

Please sign in to comment.