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
bora-it
Commits
f56b2ff3
Commit
f56b2ff3
authored
Jul 28, 2021
by
우지원
Browse files
p
parent
32664664
Changes
1
Hide whitespace changes
Inline
Side-by-side
client/src/apis/user.api.js
View file @
f56b2ff3
import
axios
from
"
axios
"
;
import
axios
from
"
axios
"
;
const
getUser
=
async
(
id
)
=>
{
const
getUser
=
async
(
id
)
=>
{
// console.log('id222:',id.userID)
const
{
data
}
=
await
axios
.
get
(
`/api/getUser/
${
id
}
`
);
const
{
data
}
=
await
axios
.
get
(
`/api/getUser/
${
id
}
`
);
return
data
;
return
data
;
};
};
...
...
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