Reset after deletion

This commit is contained in:
James Cole
2022-12-24 08:44:22 +01:00
parent 63184ac298
commit 5f6c84ab4c
19 changed files with 21 additions and 0 deletions

View File

@@ -77,6 +77,7 @@ class DestroyController extends Controller
throw new FireflyException('20028: The budget limit does not belong to the budget.');
}
$this->blRepository->destroyBudgetLimit($budgetLimit);
app('preferences')->mark();
return response()->json([], 204);
}