update iot panel will now listen to push from panel

This commit is contained in:
Alberto-Audrix committed 2026-09-21 14:38:17 +07:00
1 parent 20d04acb3e
commit 520c4bcaad
10 files changed
+158 -754

No files matched your search

-2
View File
@@ -252,8 +252,6 @@ export const api = {
list: async (query?: CycleFilter) =>
unwrapList(await get<Paginated<PanelIoT> | PanelIoT[]>('/panel-iot/', query)),
dates: async (query?: CycleFilter) => get<string[]>('/panel-iot/dates/', query),
sync: (body: { flock_id: number }) =>
post<{ upserted: number; skipped: number; pages: number }>('/panel-iot/sync/', body),
},
insights: {
list: async (query?: CycleFilter) =>