diff --git a/framework/core/src/Api/ApiServiceProvider.php b/framework/core/src/Api/ApiServiceProvider.php index 4a796ebc6..f032eb790 100644 --- a/framework/core/src/Api/ApiServiceProvider.php +++ b/framework/core/src/Api/ApiServiceProvider.php @@ -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);