From aea2cd702f540a1802f7563926e6a65ab38c12d9 Mon Sep 17 00:00:00 2001 From: Raistlfiren Date: Thu, 5 Dec 2024 17:04:07 -0600 Subject: [PATCH] Changed user agent to fix creating workouts. --- src/Http/GarminClient/GarminClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Http/GarminClient/GarminClient.php b/src/Http/GarminClient/GarminClient.php index 28f4581..d1ff6d6 100644 --- a/src/Http/GarminClient/GarminClient.php +++ b/src/Http/GarminClient/GarminClient.php @@ -10,7 +10,7 @@ class GarminClient { public const GARMIN_API_URL = 'https://connectapi.garmin.com'; - public const USER_AGENT = 'Mozilla/5.0 (iPhone; CPU iPhone OS 16_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148'; + public const USER_AGENT = 'GCM-iOS-5.7.2.1'; public function __construct( private HttpClientInterface $client,