Make sure cache is cleared after transaction deletion.

This commit is contained in:
James Cole 2022-12-21 19:11:52 +01:00
parent 328a1e256e
commit 395b6ecb76
No known key found for this signature in database
GPG Key ID: B49A324B7EAD6D80

View File

@ -137,6 +137,7 @@ class DeleteController extends Controller
Log::debug(sprintf('Now going to trigger updated account event for account #%d', $account->id));
event(new UpdatedAccount($account));
}
app('preferences')->mark();
return redirect($this->getPreviousUrl('transactions.delete.url'));