fix: linter error

This commit is contained in:
Junyan Qin
2025-05-09 11:34:02 +08:00
parent 6af837bafc
commit 9cb4f58dd0
2 changed files with 4 additions and 1 deletions

View File

@@ -263,7 +263,9 @@ class HttpClient {
return this.get(`/api/v1/pipelines/${uuid}`);
}
public createPipeline(pipeline: Pipeline): Promise<object> {
public createPipeline(pipeline: Pipeline): Promise<{
uuid: string;
}> {
return this.post('/api/v1/pipelines', pipeline);
}