mirror of https://github.com/openspug/spug
F 修复发布申请的审核未正常触发通知的问题
parent
24cfa80506
commit
e77cad7492
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue