From 385c297f568e9e092f8ba9d5c0793574785e59f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Mon, 24 Apr 2023 11:51:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Handler/OnRequest.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Handler/OnRequest.php b/Handler/OnRequest.php index 85dd74f..cf9b4ea 100644 --- a/Handler/OnRequest.php +++ b/Handler/OnRequest.php @@ -71,8 +71,7 @@ class OnRequest implements OnRequestInterface } $this->exception = $container->get($exception); $this->router = $container->get(DataGrip::class)->get(ROUTER_TYPE_HTTP); - - $this->emitter = Kiri::service()->get('response')->emmit; + $this->emitter = $this->response->emmit; } /**