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

This commit is contained in:
shamoon authored and GitHub committed 2025-01-18 12:19:50 -08:00
1 parent cd50f20a20
commit ed1775e689
9 files changed
+99 -8

No files matched your search

+5
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,