Enhancement: allow specifying JSON encoding for webhooks (#8799)

This commit is contained in:
shamoon
2025-01-18 12:19:50 -08:00
committed by GitHub
parent cd50f20a20
commit ed1775e689
9 changed files with 99 additions and 8 deletions

View File

@@ -1209,6 +1209,11 @@ class WorkflowActionWebhook(models.Model):
verbose_name=_("use parameters"),
)
as_json = models.BooleanField(
default=False,
verbose_name=_("send as JSON"),
)
params = models.JSONField(
_("webhook parameters"),
null=True,