mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 21:10:59 +00:00
String(profile.user_id) turned a missing id into the literal "undefined", so every such connection would have looked like one WHOOP account and the unique account id would have refused the second record. The callback now treats it like a failed exchange (reason=token), as the Polar callback already does for a token body without x_user_id.