From f9c8fde7f38c4c5462fedd7973748197fe2a93a9 Mon Sep 17 00:00:00 2001 From: Ali Date: Tue, 24 Feb 2026 21:16:06 +0900 Subject: [PATCH] auth --- src/routes/authRoutes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/authRoutes.js b/src/routes/authRoutes.js index e20537a..0418086 100644 --- a/src/routes/authRoutes.js +++ b/src/routes/authRoutes.js @@ -42,7 +42,7 @@ router.post('/login', async (req, res) => { const { username, password } = req.body try { - const user = await prisma.users.findUnique({ + const user = await prisma.user.findUnique({ where: { username: username }