API refactoring and new domain form fields.

This commit is contained in:
Antoine Nguyen
2020-10-21 19:20:23 +02:00
parent 00a112dbcb
commit ddbd7f6c19
4 changed files with 19 additions and 9 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ function setupAxios (token) {
}
function fetchUser (commit) {
return Vue.prototype.$axios.get('/accounts/me').then(resp => {
return Vue.prototype.$axios.get('/account/me').then(resp => {
commit('SET_AUTH_USER', { authUser: resp.data, isAuthenticated: true })
})
}