mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 17:43:47 +00:00
On revoke, RemnaWave panel clears all device HWIDs along with the subscription URL rotation, but the cabinet was only invalidating ['subscription'], ['connection-link'], ['subscriptions-list'] — leaving ['devices', subscriptionId] cached. UI showed the now-stale device list until the user manually refreshed. The GET /subscription/devices endpoint reads HWIDs live from RemnaWave (no DB cache to clear), so invalidating the TanStack query is sufficient — the immediate refetch returns the now-empty device list.