mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 13:01:00 +00:00
Mirror the Withings integration actions on the WHOOP card. A new POST /api/integrations/whoop/test runs a live, rate-limited probe against the WHOOP basic-profile endpoint, refreshing the token via getValidToken and classifying HTTP/transport failures into the same errorCode taxonomy the Withings test route uses. A new POST /api/integrations/whoop/resume clears a parked integration via resumeIntegrationFromPark for the whoop provider. The settings WhoopCard gains the shared Test-connection button, the parked-state resume banner, and switches the full-sync icon to RefreshCw for visual parity. Sync-now and sync-all are unchanged.