Commit 01cadfbe authored by Choi Ga Young's avatar Choi Ga Young
Browse files

asdadasdsadd

parent d80d2238
......@@ -27,7 +27,7 @@ function ProfilePage() {
async function getLoginedUser() { //email로 db에서 찾아오기 ㅇㅇㅇㅇㅇ
const userid = sessionStorage.getItem('userId')
const response = await axios.post(`/users/${userid}`, { 'email': userid })
const response = await axios.post(`/users/${userid}`, { '_id': userid })
setUser(response.data)
}
......
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