Skip to content

Commit

Permalink
feat: filter out commutes
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Gleich <[email protected]>
  • Loading branch information
gleich committed Oct 10, 2024
1 parent 2172059 commit a45b390
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/apis/strava/activities.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func fetchActivities(minioClient minio.Client, tokens tokens) ([]activity, error
if len(activities) >= 10 {
break
}
if stravaActivity.Private || !stravaActivity.HasHeartrate {
if stravaActivity.Private || !stravaActivity.HasHeartrate || stravaActivity.Commute {
continue
}

Expand Down

0 comments on commit a45b390

Please sign in to comment.