sartography / cr-connect

0 stars 0 forks source link

Possible bug in api.spec_file.update #757

Open cullerton opened 2 years ago

cullerton commented 2 years ago

This code is in spec_file.update

if is_primary:
    SpecFileService.set_primary_bpmn(workflow_spec, file_name)
    workflow_spec_service.update_spec(workflow_spec)

I believe we always want to run

workflow_spec_service.update_spec(workflow_spec)