Move dashboard to api
This commit is contained in:
@ -12,7 +12,7 @@ const store = createStore({
|
||||
},
|
||||
mutations: {
|
||||
getDashboard (state) {
|
||||
fetch("/dashboard")
|
||||
fetch("/api/v1/dashboard")
|
||||
.then(x => x.json())
|
||||
.then(x => console.log(x))
|
||||
.then(x => state.Budgets = x.Budgets);
|
||||
|
Reference in New Issue
Block a user