From 14c80baeec06b675e968f9becee15901b760720c Mon Sep 17 00:00:00 2001 From: koreacomp5 Date: Mon, 10 Nov 2025 13:44:05 +0900 Subject: [PATCH] =?UTF-8?q?=E3=84=B9=E3=84=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/api/auth/register/route.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/api/auth/register/route.ts b/src/app/api/auth/register/route.ts index 49faedd..6bf24e5 100644 --- a/src/app/api/auth/register/route.ts +++ b/src/app/api/auth/register/route.ts @@ -32,6 +32,7 @@ export async function POST(req: Request) { } const user = await prisma.user.create({ data: { + userId: nickname, nickname, name, passwordHash: hashPassword(password),