Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
travel
Commits
7d95fbba
Commit
7d95fbba
authored
Jul 07, 2022
by
Yoon, Daeki
😅
Browse files
createUser 버그 수정
parent
775d915f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/controllers/user.controller.ts
View file @
7d95fbba
...
@@ -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
(
u
ser
);
return
res
.
json
(
newU
ser
);
});
});
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment