fix: EquipmentPage TS errors — stray bracket and testDevice return type
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -352,7 +352,7 @@ export const api = {
|
||||
removeDevice: (slug: string, id: string, deviceId: string) =>
|
||||
req<void>('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<string, unknown>; shift?: Record<string, unknown> }>('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) =>
|
||||
|
||||
Reference in New Issue
Block a user