mirror of
https://github.com/flarum/core.git
synced 2025-10-17 17:56:14 +02:00
@@ -38,7 +38,7 @@ class Client
|
||||
*/
|
||||
public function send(User $actor, $actionClass, array $input = [])
|
||||
{
|
||||
/** @var \Flarum\Api\Actions\JsonApiAction $action */
|
||||
/** @var \Flarum\Api\Actions\Action $action */
|
||||
$action = $this->container->make($actionClass);
|
||||
|
||||
$response = $action->handle(new Request($input, $actor));
|
||||
|
Reference in New Issue
Block a user