diff --git a/src/tapis-hooks/workflows/pipelines/useRun.ts b/src/tapis-hooks/workflows/pipelines/useRun.ts index 889270938..ded989dbe 100644 --- a/src/tapis-hooks/workflows/pipelines/useRun.ts +++ b/src/tapis-hooks/workflows/pipelines/useRun.ts @@ -29,7 +29,11 @@ const useRun = () => { run: ( params: RunPipelineHookParams, // react-query options to allow callbacks such as onSuccess - options?: MutateOptions + options?: MutateOptions< + Workflows.RespPipelineRun, + Error, + RunPipelineHookParams + > ) => { // Call mutate to trigger a single post-like API operation return mutate(params, options);