aboutsummaryrefslogtreecommitdiff
path: root/strava/sync.go
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2026-08-28 22:38:57 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2026-08-28 22:38:57 +0200
commit827b55f610119d553b965ceb4d3631f0481bbb3b (patch)
treedf00788440edc234c9d15adc9e49100704675130 /strava/sync.go
parentff57ebcbe4949b7b53e7c42ecc7916b601a67213 (diff)
Rename rides.type to external_sport_type, infer bike type from Strava sport type and display categories in UI
Diffstat (limited to 'strava/sync.go')
-rw-r--r--strava/sync.go2
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) {