mirror of
https://github.com/flarum/core.git
synced 2025-07-21 08:41:17 +02:00
Merge query params into request input as well
This commit is contained in:
@@ -276,7 +276,7 @@ class ApiServiceProvider extends ServiceProvider
|
||||
$action = app($class);
|
||||
$actor = app('Flarum\Support\Actor');
|
||||
|
||||
$input = array_merge($httpRequest->getAttributes(), $routeParams);
|
||||
$input = array_merge($httpRequest->getQueryParams(), $httpRequest->getAttributes(), $routeParams);
|
||||
$request = new Request($input, $actor, $httpRequest);
|
||||
|
||||
return $action->handle($request);
|
||||
|
Reference in New Issue
Block a user