Commit 1999cfdf authored by xinwen's avatar xinwen Committed by 老广
Browse files

perf: 优化钉钉命令告警

parent c4af78c9
Showing with 5 additions and 0 deletions
+5 -0
......@@ -16,6 +16,11 @@ CATEGORY_LABEL = _('Sessions')
class CommandAlertMixin:
def get_dingtalk_msg(self) -> str:
msg = self._get_message()
msg = msg.replace('<br>', '')
return msg
@classmethod
def post_insert_to_db(cls, subscription: SystemMsgSubscription):
"""
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment