diff --git a/src/workspace/index.ts b/src/workspace/index.ts index 8415dee..dc2924c 100644 --- a/src/workspace/index.ts +++ b/src/workspace/index.ts @@ -62,7 +62,7 @@ export class Workspace extends CNBCore { * 停止我的云原生开发环境 * @param params 停止参数,pipelineId 和 sn 二选一,优先使用 pipelineId */ - async stopWorkspace(params: { pipelineId?: string; sn?: string }): Promise<{ buildLogUrl: string; message: string; sn: string }> { + async stopWorkspace(params: { pipelineId?: string; sn?: string }): Promise> { const data: { pipelineId?: string; sn?: string } = {}; if (params.pipelineId) {