fix: remove duplicate listWorkers in api.ts
This commit is contained in:
parent
49a13d8f50
commit
e142ec2dd4
@ -93,8 +93,6 @@ export const api = {
|
|||||||
deleteTimer: (timerId: string) =>
|
deleteTimer: (timerId: string) =>
|
||||||
request<void>(`/timers/${timerId}`, { method: 'DELETE' }),
|
request<void>(`/timers/${timerId}`, { method: 'DELETE' }),
|
||||||
|
|
||||||
listWorkers: () =>
|
|
||||||
request<{ name: string; cpu: string; memory: string; gpu: string }[]>('/workers'),
|
|
||||||
|
|
||||||
getKb: () => request<{ content: string }>('/kb'),
|
getKb: () => request<{ content: string }>('/kb'),
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user