Move dashboard to api
This commit is contained in:
1 parent
929db00a47
commit
ddab5998bc
3 files changed
+14
-2
No files matched your search
+1
-1
@@ -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