Skip to content

Commit

Permalink
feat: support activities with no maps
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Gleich <[email protected]>
  • Loading branch information
gleich committed Nov 4, 2024
1 parent 00fb37e commit 9fceacc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/apis/strava/activities.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,7 @@ func fetchActivities(minioClient minio.Client, tokens tokens) ([]activity, error
if len(activities) >= 5 {
break
}
if stravaActivity.Private || !stravaActivity.HasHeartrate || stravaActivity.Commute ||
stravaActivity.Map.SummaryPolyline == "" {
if stravaActivity.Private || !stravaActivity.HasHeartrate || stravaActivity.Commute {
continue
}

Expand Down

0 comments on commit 9fceacc

Please sign in to comment.