From d350932ce27598228cb4de83fbac1af3be17b9aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 27 Apr 2021 16:52:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- function.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/function.php b/function.php index 265fe26e..78ef292d 100644 --- a/function.php +++ b/function.php @@ -656,10 +656,7 @@ if (!function_exists('response')) { */ function response(): Response|stdClass { - if (!Context::hasContext('response')) { - return new Response(); - } - return Context::getContext('response'); + return Snowflake::getApp('response'); } }