mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Fix most of the index with json laravel api endpoints.
This commit is contained in:
@@ -34,9 +34,7 @@ trait ValidateSortParameters
|
||||
if (null === $params) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$config = config(sprintf('api.full_data_set.%s', $class)) ?? [];
|
||||
|
||||
$config = config('api.full_data_set')[$class] ?? [];
|
||||
foreach ($params->all() as $field) {
|
||||
if (in_array($field->name(), $config, true)) {
|
||||
Log::debug('TRUE');
|
||||
|
Reference in New Issue
Block a user