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:
2026-03-27 18:08:47 +03:00
parent 20815ae21f
commit 13dac3f227
2 changed files with 1 additions and 2 deletions

View File

@@ -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) =>