|
|
|
@ -349,7 +349,7 @@ export const usePublishAsCustomizedPipeline = () => {
|
|
|
|
mutationFn: ({
|
|
|
|
mutationFn: ({
|
|
|
|
pipelineId,
|
|
|
|
pipelineId,
|
|
|
|
}: { pipelineId: string }) => {
|
|
|
|
}: { pipelineId: string }) => {
|
|
|
|
return get(`/rag/customized/pipelines/${pipelineId}/publish`)
|
|
|
|
return post(`/rag/pipelines/${pipelineId}/customized/publish`)
|
|
|
|
},
|
|
|
|
},
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|