fix: remove unmigrated fields from provision endpoint

Skip visibility/isPublic and ownerDid - the Prisma schema has columns
that don't exist in the production DB yet. Let DB defaults handle it.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2026-02-25 00:49:56 -08:00
parent 69599db091
commit 1c6f9c64df
1 changed files with 0 additions and 1 deletions

View File

@ -33,7 +33,6 @@ export async function POST(request: Request) {
name: space.charAt(0).toUpperCase() + space.slice(1),
slug: space,
description: body.description || `${space} governance space`,
isPublic: body.public ?? false,
members: {
create: {
userId: user.id,