From 4dc01050608b591811f012ca5848ca00fefab285 Mon Sep 17 00:00:00 2001 From: "seonkyu.kim" Date: Fri, 30 Aug 2024 09:11:15 +0900 Subject: [PATCH] =?UTF-8?q?[=E2=9C=A8]=20=EA=B2=B0=EA=B3=BC=EA=B0=92=20?= =?UTF-8?q?=EC=A0=84=EC=B2=B4=20=EC=B6=9C=EB=A0=A5=EC=9C=BC=EB=A1=9C=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/user.js b/apps/user.js index f29ddef..49fbb33 100644 --- a/apps/user.js +++ b/apps/user.js @@ -47,7 +47,7 @@ export const HandleUser = async (req, res) => { return res.status(404).json({ message: 'User not found' }); } - return res.json(rows[0]); // 사용자의 첫 번째 정보를 반환 + return res.json(rows); // 사용자의 첫 번째 정보를 반환 } catch (err) { return res.status(500).json({ error: err.message });