mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-09 09:58:20 -05:00
Fix: dont try to parse empty params (#8742)
This commit is contained in:
parent
d61b2bbfc6
commit
1e3f2a1438
@ -992,6 +992,7 @@ def run_workflows(
|
|||||||
try:
|
try:
|
||||||
data = {}
|
data = {}
|
||||||
if action.webhook.use_params:
|
if action.webhook.use_params:
|
||||||
|
if action.webhook.params:
|
||||||
try:
|
try:
|
||||||
for key, value in action.webhook.params.items():
|
for key, value in action.webhook.params.items():
|
||||||
data[key] = parse_w_workflow_placeholders(
|
data[key] = parse_w_workflow_placeholders(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user