mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-08-14 00:26:21 +00:00
Enhancement: allow specifying JSON encoding for webhooks (#8799)
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user