ch4n3.yoon

[Edit] Missing Key 에러 해결

...@@ -55,7 +55,10 @@ const SignIn = () => { ...@@ -55,7 +55,10 @@ const SignIn = () => {
55 } 55 }
56 56
57 const signIn = () => { 57 const signIn = () => {
58 - http.post('/login').then(response => { 58 + http.post('/login', {
59 + userId: username,
60 + password: password,
61 + }).then(response => {
59 const { success, access_token } = response.data 62 const { success, access_token } = response.data
60 if (success) { 63 if (success) {
61 localStorage.setItem('token', access_token) 64 localStorage.setItem('token', access_token)
......