This commit is contained in:
James Cole 2018-02-25 15:09:57 +01:00
parent 211caa07dc
commit 8a758b8df0
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -83,6 +83,7 @@ class BudgetController extends Controller
$cache->addProperty($start);
$cache->addProperty($end);
$cache->addProperty('chart.budget.budget');
$cache->addProperty($budget->id);
if ($cache->has()) {
return Response::json($cache->get()); // @codeCoverageIgnore
@ -149,6 +150,7 @@ class BudgetController extends Controller
$cache->addProperty($end);
$cache->addProperty('chart.budget.budget.limit');
$cache->addProperty($budgetLimit->id);
$cache->addProperty($budget->id);
if ($cache->has()) {
return Response::json($cache->get()); // @codeCoverageIgnore