Flush cache after transaction destruction.

This commit is contained in:
James Cole 2021-12-01 16:57:55 +01:00
parent 0d61a3ad5d
commit aa0ca5fdcf

View File

@ -75,6 +75,7 @@ class DestroyController extends Controller
$this->repository->destroyGroup($transactionGroup);
// trigger just after destruction
event(new DestroyedTransactionGroup($transactionGroup));
app('preferences')->mark();
return response()->json([], 204);
}