From 8dcd74e2e9c9d3af01252af91e10d2562ee204a5 Mon Sep 17 00:00:00 2001 From: Ali Date: Tue, 24 Feb 2026 21:10:43 +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 0418086..e20537a 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.user.findUnique({ + const user = await prisma.users.findUnique({ where: { username: username }