Commit 7d95fbba authored by Yoon, Daeki's avatar Yoon, Daeki 😅
Browse files

createUser 버그 수정

parent 775d915f
...@@ -10,5 +10,5 @@ export const createUser = asyncWrap(async (req, res) => { ...@@ -10,5 +10,5 @@ export const createUser = asyncWrap(async (req, res) => {
const user = req.body; const user = req.body;
console.log("user body", user); console.log("user body", user);
const newUser = await userDb.createUser(user); const newUser = await userDb.createUser(user);
return res.json(user); return res.json(newUser);
}); });
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment