diff --git a/src/routes/pipelines/pipeline-editor.tsx b/src/routes/pipelines/pipeline-editor.tsx index 538ce33..8054c4d 100644 --- a/src/routes/pipelines/pipeline-editor.tsx +++ b/src/routes/pipelines/pipeline-editor.tsx @@ -18,6 +18,7 @@ import { FIND_PIPELINE, LIST_PIPELINES } from '../../components/pipelines/pipeline-list.constants'; +import { omit } from 'ramda'; const defaultWorkUnitMetadata: WorkUnitMetadata = { version: 1, @@ -159,7 +160,7 @@ export const PipelineEditor = ({ projectId, id }: Props) => { }); } else { await modifyPipeline({ - variables: { input: values, id } + variables: { input: omit(['id'], values), id } }); } close();