mirror of
https://github.com/flarum/framework.git
synced 2024-11-22 06:33:27 +08:00
fix: error handler inside api client makes evaluating errors difficult
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
This commit is contained in:
parent
8aec252452
commit
c923469094
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user