fix: 调试发布run
This commit is contained in:
@@ -91,6 +91,7 @@ import type {
|
||||
ServerConfigWriteApprovalRequest,
|
||||
ServerConfigWriteDispatchResponse,
|
||||
ServerInstanceListResponse,
|
||||
ServerDeletionRequest,
|
||||
ServerInstanceUpdateRequest,
|
||||
ServerInstanceResponse,
|
||||
ServerMemberListResponse,
|
||||
@@ -482,8 +483,8 @@ export class PlatformApiClient {
|
||||
});
|
||||
}
|
||||
|
||||
async archiveServerInstance(id: string): Promise<void> {
|
||||
return this.request<void>(`/server-instances/${encodeURIComponent(id)}`, { method: "DELETE", parseJson: false });
|
||||
async deleteServerInstance(id: string, request: ServerDeletionRequest): Promise<void> {
|
||||
return this.request<void>(`/server-instances/${encodeURIComponent(id)}`, { method: "DELETE", body: request, parseJson: false });
|
||||
}
|
||||
|
||||
async getPlatformResourceUsage(): Promise<PlatformResourceUsageResponse> {
|
||||
|
||||
Reference in New Issue
Block a user