fix: delete worker
This commit is contained in:
@@ -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'
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user