diff --git a/app/api/posts/submit/route.ts b/app/api/posts/submit/route.ts index 021aa4bd..22c2cbb9 100644 --- a/app/api/posts/submit/route.ts +++ b/app/api/posts/submit/route.ts @@ -126,11 +126,6 @@ export async function POST(req: NextRequest) { url: url, subtitle: subtitle ? subtitle : null, authorId: Number(authorId), - author: { - connect: { - id: Number(authorId), - } - } } })