mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-07 07:55:16 +02:00
fix: missing call_id in gathered_context (#165)
This commit is contained in:
parent
9ce5a8e5e2
commit
13b41437e8
3 changed files with 10 additions and 4 deletions
|
|
@ -28,6 +28,7 @@ class WorkflowRunClient(BaseDBClient):
|
|||
user_id: int,
|
||||
call_type: CallType = CallType.OUTBOUND,
|
||||
initial_context: dict = None,
|
||||
gathered_context: dict = None,
|
||||
campaign_id: int = None,
|
||||
queued_run_id: int = None,
|
||||
) -> WorkflowRunModel:
|
||||
|
|
@ -79,6 +80,7 @@ class WorkflowRunClient(BaseDBClient):
|
|||
mode=mode,
|
||||
definition_id=current_def.id if current_def else None,
|
||||
initial_context=initial_context or workflow.template_context_variables,
|
||||
gathered_context=gathered_context or {},
|
||||
campaign_id=campaign_id,
|
||||
queued_run_id=queued_run_id,
|
||||
storage_backend=current_backend.value,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue