Move dashboard to api

This commit is contained in:
2022-01-21 14:20:12 +00:00
parent 929db00a47
commit ddab5998bc
3 changed files with 14 additions and 2 deletions

View File

@ -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);