mirror of
https://github.com/flarum/core.git
synced 2025-08-06 16:36:47 +02:00
@@ -52,7 +52,7 @@ class ApiServiceProvider extends AbstractServiceProvider
|
||||
|
||||
$pipe->pipe(new HttpMiddleware\HandleErrors(
|
||||
$app->make(Registry::class),
|
||||
$app->make(JsonApiFormatter::class),
|
||||
new JsonApiFormatter($app->inDebugMode()),
|
||||
$app->tagged(Reporter::class)
|
||||
));
|
||||
|
||||
|
Reference in New Issue
Block a user