mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-11 01:33:11 +08:00
Removed options bypass in actions in favor of implicit options middleware
This commit is contained in:
@@ -6,7 +6,6 @@ use Interop\Http\ServerMiddleware\DelegateInterface;
|
||||
use Psr\Http\Message\ResponseInterface as Response;
|
||||
use Psr\Http\Message\ServerRequestInterface as Request;
|
||||
use Psr\Log\LoggerInterface;
|
||||
use Psr\Log\NullLogger;
|
||||
use Shlinkio\Shlink\Common\Paginator\Util\PaginatorUtilsTrait;
|
||||
use Shlinkio\Shlink\Core\Service\ShortUrlService;
|
||||
use Shlinkio\Shlink\Core\Service\ShortUrlServiceInterface;
|
||||
@@ -50,7 +49,7 @@ class ListShortcodesAction extends AbstractRestAction
|
||||
* @param DelegateInterface $delegate
|
||||
* @return null|Response
|
||||
*/
|
||||
public function dispatch(Request $request, DelegateInterface $delegate)
|
||||
public function process(Request $request, DelegateInterface $delegate)
|
||||
{
|
||||
try {
|
||||
$params = $this->queryToListParams($request->getQueryParams());
|
||||
|
||||
Reference in New Issue
Block a user