Use update_ticket mechanism in email.py

This commit is contained in:
Sam Splunks
2024-04-16 08:49:11 +00:00
parent 79b7ce9650
commit c0ee8e0847
2 changed files with 4 additions and 3 deletions

View File

@@ -36,8 +36,7 @@ def notify_followup_webhooks(followup):
# listener is loaded via app.py HelpdeskConfig.ready()
@receiver(update_ticket_done)
def notify_followup_webhooks_receiver(sender, followup, **kwargs):
if sender == "update_ticket":
notify_followup_webhooks(followup)
notify_followup_webhooks(followup)
def send_new_ticket_webhook(ticket):