Skip to content

Commit

Permalink
Changed user agent to fix creating workouts.
Browse files Browse the repository at this point in the history
  • Loading branch information
Raistlfiren committed Dec 5, 2024
1 parent 9ca3f0a commit aea2cd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/GarminClient/GarminClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit aea2cd7

Please sign in to comment.