Implement webhooks. Fixes #264

This commit is contained in:
Timothy Hobbs
2023-12-02 18:09:34 +00:00
parent 5e1fb838cb
commit e708281dcd
10 changed files with 294 additions and 7 deletions

View File

@ -386,6 +386,9 @@ def update_ticket(
))
ticket.save()
from helpdesk.webhooks import notify_followup_webhooks
notify_followup_webhooks(f)
# auto subscribe user if enabled
add_staff_subscription(user, ticket)
return f