diff --git a/env.py b/env.py index 172f9b068..8ad10683f 100644 --- a/env.py +++ b/env.py @@ -155,6 +155,6 @@ BK_AUDIT_DATA_TOKEN = os.getenv("BK_AUDIT_DATA_TOKEN", None) # bk_chat通知渠道 -BK_CHAT_CHANNEL = os.environ.get("BK_CHAT_CHANNEL", None) +BK_CHAT_CHANNEL = os.getenv("BK_CHAT_CHANNEL", None) # bk_chat通知路由 -BK_CHAT_ROUTE = os.environ.get("BK_CHAT_ROUTE", None) +BK_CHAT_ROUTE = os.getenv("BK_CHAT_ROUTE", None)