fix: delete worker

This commit is contained in:
jialin
2024-07-10 17:14:55 +08:00
parent 0ed7568859
commit 8607815240
14 changed files with 129 additions and 16 deletions
+6
View File
@@ -27,3 +27,9 @@ export async function queryGPUDeviceItem(id: string) {
methos: 'GET'
});
}
export async function deleteWorker(id: string | number) {
return request(`${WORKERS_API}/${id}`, {
method: 'DELETE'
});
}