fix my account creation
This commit is contained in:
@@ -25,7 +25,7 @@ export const createAccount = (oauthToken, userId, account) => {
|
||||
const headers = {
|
||||
"Authorization": "Bearer " + oauthToken
|
||||
};
|
||||
return Vue.axios.post("http://localhost:8081/configuration", account, {headers}).then(response => {
|
||||
return Vue.axios.post("http://localhost:8081/users/"+userId+"/accounts", account, {headers}).then(response => {
|
||||
console.log(response);
|
||||
return response.data
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user