mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-21 22:16:44 +01:00
Enhancement: allow specifying JSON encoding for webhooks (#8799)
This commit is contained in:
parent
cd50f20a20
commit
ed1775e689
9 changed files with 99 additions and 8 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue