Skip to content

Commit

Permalink
Update BaseController
Browse files Browse the repository at this point in the history
  • Loading branch information
jasper-ter-veen authored Jan 9, 2023
1 parent e5f7a3d commit bbdd7f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controllers/BaseController.php
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ protected function shouldPaginate(Request $request, int $paginationLimit): bool
protected function retrieve(Request $request, ?string $key = null, $default = null)
{
if (!config('orion.use_validated')) {
return $key ? $request->get($key, $default) : $request->all();
return $key ? $request->input($key, $default) : $request->all();
}

if (!$key) {
Expand Down

0 comments on commit bbdd7f1

Please sign in to comment.