Move dashboard to api

This commit is contained in:
jacob1123 committed 2022-01-21 14:20:45 +00:00
1 parent 929db00a47
commit ddab5998bc
3 files changed
+14 -2

No files matched your search

+1 -1
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);