Send X-Go-White-Label-ID header

Send the hardcoded West Wood white-label tenant ID on API requests, matching
the app. The server doesn't require it.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-14 01:38:17 +01:00
parent 55b4a17a26
commit 0fd2393a3d
4 changed files with 9 additions and 3 deletions
@@ -11,6 +11,11 @@ DEVICE_NAME = 'West Wood Club'
# PerfectGym Go backend (West Wood is a white-label tenant).
BASE_URL = 'https://goapi2.perfectgym.com'
# Hardcoded West Wood white-label tenant ID (baked into the app binary). Sent as
# the X-Go-White-Label-ID header. The server doesn't require it, but it matches
# what the app sends. See api.md.
WHITE_LABEL_ID = '7d073db5-0ef8-4d78-89ec-4a8bebaf4cbc'
# Config entry keys.
CONF_TOKEN = 'token'
CONF_CLUBS = 'clubs'