fix workflow run get with workflow_permanent_id (#415)

This commit is contained in:
Kerem Yilmaz
2024-06-04 08:27:04 -07:00
committed by GitHub
parent 4cd506d340
commit fc6ddb7bf6
2 changed files with 9 additions and 18 deletions

View File

@@ -533,7 +533,7 @@ async def get_workflow_run(
) -> WorkflowRunStatusResponse:
analytics.capture("skyvern-oss-agent-workflow-run-get")
return await app.WORKFLOW_SERVICE.build_workflow_run_status_response(
workflow_id=workflow_id,
workflow_permanent_id=workflow_id,
workflow_run_id=workflow_run_id,
organization_id=current_org.organization_id,
)