mirror of
https://github.com/flarum/core.git
synced 2025-10-11 06:54:26 +02:00
Use the new client class to consume API actions
This commit is contained in:
@@ -20,6 +20,11 @@ abstract class Action
|
||||
return $action->call($params);
|
||||
}
|
||||
|
||||
protected function success()
|
||||
{
|
||||
return new Response();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $url
|
||||
* @return \Psr\Http\Message\ResponseInterface
|
||||
|
Reference in New Issue
Block a user