mirror of
https://github.com/langgenius/dify.git
synced 2026-03-13 21:22:28 +08:00
fix(pipeline): correct API endpoint for stopping workflow runs
This commit is contained in:
parent
647af6fc69
commit
c40dfe7060
@ -289,7 +289,7 @@ export const usePipelineRun = () => {
|
||||
const handleStopRun = useCallback((taskId: string) => {
|
||||
const { pipelineId } = workflowStore.getState()
|
||||
|
||||
stopWorkflowRun(`/rag/pipeline/${pipelineId}/workflow-runs/tasks/${taskId}/stop`)
|
||||
stopWorkflowRun(`/rag/pipelines/${pipelineId}/workflow-runs/tasks/${taskId}/stop`)
|
||||
}, [workflowStore])
|
||||
|
||||
const handleRestoreFromPublishedWorkflow = useCallback((publishedWorkflow: VersionHistory) => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user