update front_end

This commit is contained in:
2026-03-04 16:04:42 +08:00
parent 9c0744e1bc
commit f6547ca6fe
3 changed files with 38 additions and 130 deletions

View File

@@ -120,8 +120,8 @@ export function listPipelines(): Promise<PipelineListResponse> {
return fetchJson("/v1/pipelines");
}
export function stopPipeline(runId: string): Promise<PipelineStopResponse> {
return fetchJson(`/v1/pipelines/${runId}`, {
export function stopPipeline(pipelineId: string): Promise<PipelineStopResponse> {
return fetchJson(`/v1/pipelines/${pipelineId}`, {
method: "DELETE",
});
}