mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-01 02:21:45 +00:00
Issue 2695
Introduces localisation for API errors
This commit is contained in:
@@ -199,7 +199,7 @@ class BudgetController extends Controller
|
||||
|
||||
return response()->json($manager->createData($resource)->toArray())->header('Content-Type', 'application/vnd.api+json');
|
||||
}
|
||||
throw new FireflyException('Could not store new budget.'); // @codeCoverageIgnore
|
||||
throw new FireflyException(trans('api.error_store_budget')); // @codeCoverageIgnore
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user