missing { data } extraction
This commit is contained in:
parent
6c4f6dcd05
commit
a39d3b1b56
23 changed files with 44 additions and 48 deletions
|
|
@ -43,7 +43,7 @@ const ProfileTab = {
|
|||
params,
|
||||
credentials: useOAuthStore().token,
|
||||
})
|
||||
.then((user) => {
|
||||
.then(({ data: user }) => {
|
||||
this.$store.commit('addNewUsers', [user])
|
||||
this.$store.commit('setCurrentUser', user)
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue