mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-16 19:46:48 +01:00
Fix: dont try to parse empty params (#8742)
This commit is contained in:
parent
d61b2bbfc6
commit
1e3f2a1438
1 changed files with 19 additions and 18 deletions
|
|
@ -992,6 +992,7 @@ def run_workflows(
|
|||
try:
|
||||
data = {}
|
||||
if action.webhook.use_params:
|
||||
if action.webhook.params:
|
||||
try:
|
||||
for key, value in action.webhook.params.items():
|
||||
data[key] = parse_w_workflow_placeholders(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue