F 修复发布申请的审核未正常触发通知的问题

pull/494/head
vapao 2022-04-28 13:17:25 +08:00
parent 24cfa80506
commit e77cad7492
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ class Helper:
@classmethod
def send_deploy_notify(cls, req, action=None):
rst_notify = json.loads(req.deploy.rst_notify)
host_ids = req.host_ids
host_ids = json.loads(req.host_ids) if isinstance(req.host_ids, str) else req.host_ids
if rst_notify['mode'] != '0' and rst_notify.get('value'):
url = rst_notify['value']
version = req.version