missing { data } extraction

This commit is contained in:
Henry Jameson 2026-06-22 19:44:44 +03:00
commit a39d3b1b56
23 changed files with 44 additions and 48 deletions

View file

@ -63,7 +63,7 @@ const GeneralTab = {
updateProfile({
params,
credentials: useOAuthStore().token,
}).then((user) => {
}).then(({ data: user }) => {
this.$store.commit('addNewUsers', [user])
this.$store.commit('setCurrentUser', user)
})