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:
parent
69599db091
commit
1c6f9c64df
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue