fixes frontend bailing out

workflow id is workflow id
This commit is contained in:
alicia pritchett 2021-10-06 14:33:09 -04:00
parent da894219c5
commit 7b6beae9c1
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ class WorkflowMetadata(object):
def from_workflow(cls, workflow: WorkflowModel):
is_review = FileService.is_workflow_review(workflow.workflow_spec_id)
instance = cls(
id=workflow.workflow_spec_id,
id=workflow.id,
display_name=workflow.workflow_spec.display_name,
description=workflow.workflow_spec.description,
spec_version=workflow.spec_version(),