diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-28 22:38:57 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-28 22:38:57 +0200 |
| commit | 827b55f610119d553b965ceb4d3631f0481bbb3b (patch) | |
| tree | df00788440edc234c9d15adc9e49100704675130 /strava | |
| parent | ff57ebcbe4949b7b53e7c42ecc7916b601a67213 (diff) | |
Rename rides.type to external_sport_type, infer bike type from Strava sport type and display categories in UI
Diffstat (limited to 'strava')
| -rw-r--r-- | strava/sync.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/strava/sync.go b/strava/sync.go index 34559de..b88c799 100644 --- a/strava/sync.go +++ b/strava/sync.go @@ -32,7 +32,7 @@ type Activity struct { } func (c *Client) List(from, to time.Time) ([]Activity, error) { - return c.list(from, to, "Ride") + return c.list(from, to, "Ride", "MountainBikeRide") } func (c *Client) list(from, to time.Time, types ...string) ([]Activity, error) { |
