From 2c5742605144a10c286e05d47c87396525cb1d4a Mon Sep 17 00:00:00 2001 From: AoXuan Date: Sat, 27 Sep 2025 15:36:16 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"refactor:=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89Webhook=E9=85=8D=E7=BD=AE=E9=A1=B9"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit bb602d92cfbdc6ed1aa263611c366ccc8a33de1b. --- app/core/config.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/core/config.py b/app/core/config.py index cc8fe1f..472a331 100644 --- a/app/core/config.py +++ b/app/core/config.py @@ -109,7 +109,6 @@ class GlobalConfig(ConfigBase): "Notify", "IfCompanyWebHookBot", False, BoolValidator() ) Notify_CompanyWebHookBotUrl = ConfigItem("Notify", "CompanyWebHookBotUrl", "") - Notify_CustomWebhooks = ConfigItem("Notify", "CustomWebhooks", "[]", JSONValidator()) Update_IfAutoUpdate = ConfigItem("Update", "IfAutoUpdate", False, BoolValidator()) Update_Source = ConfigItem( @@ -355,7 +354,6 @@ class MaaUserConfig(ConfigBase): self.Notify_CompanyWebHookBotUrl = ConfigItem( "Notify", "CompanyWebHookBotUrl", "" ) - self.Notify_CustomWebhooks = ConfigItem("Notify", "CustomWebhooks", "[]", JSONValidator()) def get_plan_info(self) -> Dict[str, Union[str, int]]: """获取当前的计划下信息""" @@ -549,7 +547,6 @@ class GeneralUserConfig(ConfigBase): self.Notify_CompanyWebHookBotUrl = ConfigItem( "Notify", "CompanyWebHookBotUrl", "" ) - self.Notify_CustomWebhooks = ConfigItem("Notify", "CustomWebhooks", "[]", JSONValidator()) class GeneralConfig(ConfigBase):