Restore removed parameter (#1832)
team_id was removed from send_webhook_event when other calls were still adding it. Quick fix to restore it until we decide how to make use of it.
This commit is contained in:
parent
ddb3227ac0
commit
e8806cedd7
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ TRIGGER_TYPE_TO_LABEL = {
|
|||
@shared_dedicated_queue_retry_task(
|
||||
autoretry_for=(Exception,), retry_backoff=True, max_retries=1 if settings.DEBUG else None
|
||||
)
|
||||
def send_webhook_event(trigger_type, alert_group_id, organization_id=None, user_id=None):
|
||||
def send_webhook_event(trigger_type, alert_group_id, organization_id=None, team_id=None, user_id=None):
|
||||
Webhooks = apps.get_model("webhooks", "Webhook")
|
||||
webhooks_qs = Webhooks.objects.filter(
|
||||
trigger_type=trigger_type,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue