1
0
mirror of https://github.com/flarum/core.git synced 2025-08-13 20:04:24 +02:00

Compare commits

...

1 Commits

Author SHA1 Message Date
Sami Mazouz
c923469094 fix: error handler inside api client makes evaluating errors difficult
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2022-09-09 23:14:12 +01:00

View File

@@ -105,6 +105,7 @@ class ApiServiceProvider extends AbstractServiceProvider
$this->container->singleton('flarum.api_client.exclude_middleware', function () {
return [
'flarum.api.error_handler',
HttpMiddleware\InjectActorReference::class,
HttpMiddleware\ParseJsonBody::class,
Middleware\FakeHttpMethods::class,