From 2e0d36ff433365ec7d7a585b72d77eba8b7fbf48 Mon Sep 17 00:00:00 2001 From: Sami Mazouz Date: Wed, 18 Oct 2023 12:46:45 +0100 Subject: [PATCH] chore: remove debugging code --- framework/core/src/Api/ApiServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/src/Api/ApiServiceProvider.php b/framework/core/src/Api/ApiServiceProvider.php index 5d1e28b192..acd7a8b636 100644 --- a/framework/core/src/Api/ApiServiceProvider.php +++ b/framework/core/src/Api/ApiServiceProvider.php @@ -56,7 +56,7 @@ public function register(): void $this->container->singleton('flarum.api.middleware', function () { return [ HttpMiddleware\InjectActorReference::class, - // 'flarum.api.error_handler', + 'flarum.api.error_handler', HttpMiddleware\ParseJsonBody::class, Middleware\FakeHttpMethods::class, HttpMiddleware\StartSession::class,