mirror of
https://github.com/flarum/core.git
synced 2025-10-12 23:44:27 +02:00
Update Stratigility, use http-interop middleware
This commit is contained in:
@@ -53,7 +53,6 @@ class ApiServiceProvider extends AbstractServiceProvider
|
||||
|
||||
$this->app->singleton('flarum.api.middleware', function ($app) {
|
||||
$pipe = new MiddlewarePipe;
|
||||
$pipe->raiseThrowables();
|
||||
|
||||
$pipe->pipe($app->make(HandleErrors::class));
|
||||
|
||||
|
Reference in New Issue
Block a user