Skip to content

Commit

Permalink
feat: 通知组内新增变量 --story=119072639
Browse files Browse the repository at this point in the history
1. 修复通知异常
  • Loading branch information
0RAJA committed Sep 14, 2024
1 parent c94089c commit 5bfb947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/services/web/risk/handlers/risk.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,5 +237,5 @@ def send_notice(cls, risk: Risk, notice_groups: Union[QuerySet, List[NoticeGroup
relate_id=risk.pk,
agg_key=f"notice_group:{notice_group.group_id}::strategy:{risk.strategy_id}::is_todo:{is_todo}",
msg_type=[c.get("msg_type") for c in notice_group.notice_config if "msg_type" in c],
receivers=RiskNoticeParser(risk=risk).parse_groups(notice_group),
receivers=RiskNoticeParser(risk=risk).parse_group(notice_group),
)

0 comments on commit 5bfb947

Please sign in to comment.