mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 22:39:34 +00:00
[Profile] Update fixed
This commit is contained in:
1 parent
0d5bfa3b9b
commit
eb7b44fbfe
4 files changed
+54
-75
No files matched your search
@@ -135,7 +135,7 @@ export default {
|
||||
},
|
||||
updateUserInfo({commit}: {commit: any}, data: any) {
|
||||
return new Promise((resolve, reject) => {
|
||||
axios.post_auth_data('v1/auth/info', data)
|
||||
axios.put_auth(`v1/users/${data.id}`, {data: data})
|
||||
.then((response: any) => {
|
||||
const user = response.user
|
||||
|
||||
|
||||
Reference in new issue
Block a user