From c2bcd815d50ad4721bfb192284c33dc4d58d260e Mon Sep 17 00:00:00 2001 From: Jan Bader Date: Mon, 24 Jan 2022 19:22:53 +0000 Subject: [PATCH] API returns Budget directly --- web/src/store/dashboard/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/store/dashboard/index.js b/web/src/store/dashboard/index.js index 6c4ffe6..1ef347b 100644 --- a/web/src/store/dashboard/index.js +++ b/web/src/store/dashboard/index.js @@ -37,7 +37,7 @@ const dashboard = { } }) .then(x => x.json()) - .then(x => commit("addBudget", x.Budget)); + .then(x => commit("addBudget", x)); } } }