Skip to content

Commit

Permalink
[#37] fix: update response structure received from the server
Browse files Browse the repository at this point in the history
  • Loading branch information
hee-suh committed Feb 21, 2023
1 parent b45ee48 commit f642dd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bowwowcare/src/services/auth.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const login = (data) => {
data: data
})
.then(response => {
if (response.data.data.token) {
if (response.data.token) {
localStorage.setItem("user", JSON.stringify(response.data));
}

Expand Down

0 comments on commit f642dd4

Please sign in to comment.