fix: small issue with cache

This commit is contained in:
James Cole
2023-07-09 18:45:44 +02:00
parent 92f72a5ad7
commit 25779206a1
4 changed files with 11 additions and 9 deletions

View File

@@ -236,6 +236,7 @@ class BudgetLimitController extends Controller
}
$limit = $this->blRepository->update($budgetLimit, ['amount' => $amount]);
app('preferences')->mark();
$array = $limit->toArray();
$spentArr = $this->opsRepository->sumExpenses(