Skip to content

Commit

Permalink
Merge pull request #206 from jasper-ter-veen/patch-1
Browse files Browse the repository at this point in the history
fix: retrieving input
  • Loading branch information
alexzarbn authored Jan 9, 2023
2 parents e5f7a3d + bbdd7f1 commit 0df2fb3
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 0df2fb3

Please sign in to comment.