Changed code in error message

This commit is contained in:
mike cullerton 2022-02-22 14:41:30 -05:00
parent 1860509c1e
commit 41d562ca26
1 changed files with 2 additions and 2 deletions

View File

@ -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')