diff --git a/src/lib/api.ts b/src/lib/api.ts index 86f56be..9df61a5 100644 --- a/src/lib/api.ts +++ b/src/lib/api.ts @@ -352,7 +352,7 @@ export const api = { removeDevice: (slug: string, id: string, deviceId: string) => req('DELETE', `/api/hotels/${slug}/workstations/${id}/devices/${deviceId}`), testDevice: (slug: string, wsId: string, deviceId: string) => - req<{ ok: boolean; error?: string; message?: string }>('POST', `/api/hotels/${slug}/workstations/${wsId}/test-device/${deviceId}`), + req<{ ok: boolean; error?: string; message?: string; kkt?: Record; shift?: Record }>('POST', `/api/hotels/${slug}/workstations/${wsId}/test-device/${deviceId}`), sendUpdate: (slug: string, wsId: string) => req<{ ok: true }>('POST', `/api/hotels/${slug}/workstations/${wsId}/update`), updateAll: (slug: string) => diff --git a/src/pages/EquipmentPage.tsx b/src/pages/EquipmentPage.tsx index d10e148..ecf8d76 100644 --- a/src/pages/EquipmentPage.tsx +++ b/src/pages/EquipmentPage.tsx @@ -762,7 +762,6 @@ function WorkstationCard({ ) })()} - )} )}