mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-18 23:50:09 +00:00
Issue 2695
Introduces localisation for API errors
This commit is contained in:
@@ -83,7 +83,7 @@ class UserController extends Controller
|
||||
|
||||
return response()->json([], 204);
|
||||
}
|
||||
throw new FireflyException('No access to method.'); // @codeCoverageIgnore
|
||||
throw new FireflyException(trans('api.error_no_access')); // @codeCoverageIgnore
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user