worked in feedback by JC5

This commit is contained in:
Dominic Guhl
2019-10-26 16:29:04 +02:00
parent b4d565400e
commit 13a29a66c8
22 changed files with 5 additions and 447 deletions

View File

@@ -165,7 +165,7 @@ class BudgetLimitController extends Controller
$data = $request->getAll();
$budget = $this->repository->findNull($data['budget_id']);
if (null === $budget) {
throw new FireflyException(trans('error_unknown_budget'));
throw new FireflyException(trans('api.error_unknown_budget'));
}
$data['budget'] = $budget;
$budgetLimit = $this->blRepository->storeBudgetLimit($data);