fix: Fix session typo in workflow_trace method (#12031)

This commit is contained in:
Yang Jingtao 2024-12-24 11:30:31 +09:00 committed by GitHub
parent 1c80941c69
commit e0c24c0e99
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -360,7 +360,7 @@ class TraceTask:
raise ValueError("Workflow run not found")
db.session.merge(workflow_run)
db.sessoin.refresh(workflow_run)
db.session.refresh(workflow_run)
workflow_id = workflow_run.workflow_id
tenant_id = workflow_run.tenant_id