Final tweaks in account balance logic.

This commit is contained in:
James Cole
2025-02-05 06:29:07 +01:00
parent 6499b5eaab
commit f85878b843
3 changed files with 46 additions and 80 deletions

View File

@@ -427,7 +427,7 @@ class AccountController extends Controller
$cache->addProperty($this->convertToNative);
$cache->addProperty($account->id);
if ($cache->has()) {
// return response()->json($cache->get());
return response()->json($cache->get());
}
// collect and filter balances for the entire period.