mirror of
https://github.com/ansible/awx.git
synced 2026-05-15 05:17:36 -02:30
Fix UJT-related error, add notification placeholders
This commit is contained in:
@@ -486,6 +486,5 @@ class JobNotificationMixin(object):
|
||||
def send_it(local_nt=nt, local_subject=notification_subject, local_body=notification_body):
|
||||
def _func():
|
||||
send_notifications.delay([local_nt.generate_notification(local_subject, local_body).id],
|
||||
job_id=self.id)
|
||||
return _func
|
||||
connection.on_commit(send_it())
|
||||
|
||||
Reference in New Issue
Block a user