mirror of
https://github.com/sartography/cr-connect-workflow.git
synced 2025-02-23 05:08:32 +00:00
Changed code in error message
This commit is contained in:
parent
1860509c1e
commit
41d562ca26
@ -35,7 +35,7 @@ class StartWorkflow(Script):
|
||||
return WorkflowApiSchema().dump(workflow_api)
|
||||
|
||||
else:
|
||||
raise ApiError(code='missing_parameters',
|
||||
raise ApiError(code='missing_parameter',
|
||||
message=f'The start_workflow script requires a workflow id')
|
||||
|
||||
def do_task(self, task, study_id, workflow_id, *args, **kwargs):
|
||||
@ -54,5 +54,5 @@ class StartWorkflow(Script):
|
||||
return workflow_api
|
||||
|
||||
else:
|
||||
raise ApiError(code='missing_parameters',
|
||||
raise ApiError(code='missing_parameter',
|
||||
message=f'The start_workflow script requires a workflow id')
|
||||
|
Loading…
x
Reference in New Issue
Block a user