From 405fab85147c44b31f016040b798f2d95d90f66e Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Wed, 15 Jan 2025 12:18:02 -0800 Subject: [PATCH] Update handlers.py --- src/documents/signals/handlers.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/documents/signals/handlers.py b/src/documents/signals/handlers.py index 08fd8d00f..7fa714f10 100644 --- a/src/documents/signals/handlers.py +++ b/src/documents/signals/handlers.py @@ -561,9 +561,9 @@ def run_workflows_added( def run_workflows_updated(sender, document: Document, logging_group=None, **kwargs): run_workflows( - WorkflowTrigger.WorkflowTriggerType.DOCUMENT_UPDATED, - document, - logging_group, + trigger_type=WorkflowTrigger.WorkflowTriggerType.DOCUMENT_UPDATED, + document=document, + logging_group=logging_group, )