mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Flush cache after transaction destruction.
This commit is contained in:
parent
0d61a3ad5d
commit
aa0ca5fdcf
@ -75,6 +75,7 @@ class DestroyController extends Controller
|
|||||||
$this->repository->destroyGroup($transactionGroup);
|
$this->repository->destroyGroup($transactionGroup);
|
||||||
// trigger just after destruction
|
// trigger just after destruction
|
||||||
event(new DestroyedTransactionGroup($transactionGroup));
|
event(new DestroyedTransactionGroup($transactionGroup));
|
||||||
|
app('preferences')->mark();
|
||||||
|
|
||||||
return response()->json([], 204);
|
return response()->json([], 204);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user