Skip to content

Commit

Permalink
fix: wip
Browse files Browse the repository at this point in the history
  • Loading branch information
binaryk committed Jul 2, 2024
1 parent f35c23c commit 177132d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Requests/RestifyRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,6 @@ public function filters(): array
{
return $this instanceof RepositoryApplyFiltersRequest
? $this->input('filters', [])
: json_decode(base64_decode($this->input('filters', [])), true);
: (json_decode(base64_decode($this->input('filters')), true) ?? []);
}
}

0 comments on commit 177132d

Please sign in to comment.