parent
da894219c5
commit
7b6beae9c1
|
@ -127,7 +127,7 @@ class WorkflowMetadata(object):
|
||||||
def from_workflow(cls, workflow: WorkflowModel):
|
def from_workflow(cls, workflow: WorkflowModel):
|
||||||
is_review = FileService.is_workflow_review(workflow.workflow_spec_id)
|
is_review = FileService.is_workflow_review(workflow.workflow_spec_id)
|
||||||
instance = cls(
|
instance = cls(
|
||||||
id=workflow.workflow_spec_id,
|
id=workflow.id,
|
||||||
display_name=workflow.workflow_spec.display_name,
|
display_name=workflow.workflow_spec.display_name,
|
||||||
description=workflow.workflow_spec.description,
|
description=workflow.workflow_spec.description,
|
||||||
spec_version=workflow.spec_version(),
|
spec_version=workflow.spec_version(),
|
||||||
|
|
Loading…
Reference in New Issue