Skip to content

Commit

Permalink
fix: revert breaking change
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammad-Alavi committed Jun 12, 2024
1 parent d2c591a commit f3166e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Traits/ResponseTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public function transform(
$fractal->parseIncludes($requestIncludes);

// apply request filters if available in the request
if ($requestFilters = Request::get(Config::get('apiato.requests.params.filter', 'fieldset'))) {
if ($requestFilters = Request::get(Config::get('apiato.requests.params.filter', 'filter'))) {
$result = $this->filterResponse($fractal->toArray(), explode(';', $requestFilters));
} else {
$result = $fractal->toArray();
Expand Down

0 comments on commit f3166e5

Please sign in to comment.