fix: remove duplicate listWorkers in api.ts

This commit is contained in:
2026-04-07 10:00:49 +01:00
parent 49a13d8f50
commit e142ec2dd4

View File

@@ -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'),