Skip to content

Commit

Permalink
fix: 修正环境变量获取错误 TencentBlueKing#7545
Browse files Browse the repository at this point in the history
  • Loading branch information
guohelu committed Nov 12, 2024
1 parent eefeb81 commit 75e9625
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions env.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 75e9625

Please sign in to comment.