mirror of
https://github.com/flarum/core.git
synced 2025-10-12 15:34:26 +02:00
Merge branch 'master' into 1236-database-changes
This commit is contained in:
@@ -66,7 +66,7 @@ class ApiServiceProvider extends AbstractServiceProvider
|
||||
|
||||
event(new ConfigureMiddleware($pipe, 'api'));
|
||||
|
||||
$pipe->pipe($app->make(DispatchRoute::class, ['routes' => $app->make('flarum.api.routes')]));
|
||||
$pipe->pipe(new DispatchRoute($app->make('flarum.api.routes')));
|
||||
|
||||
return $pipe;
|
||||
});
|
||||
|
Reference in New Issue
Block a user