Skip to content

Commit

Permalink
feat: only add activity if it has a map
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Gleich <[email protected]>
  • Loading branch information
gleich committed Sep 26, 2024
1 parent 615855a commit 69c03d5
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 @@ -120,8 +120,8 @@ func fetchActivities(minioClient minio.Client, tokens tokens) ([]activity, error
a.ID,
)
a.MapImageURL = &imgurl
activities = append(activities, a)
}
activities = append(activities, a)
}
removeOldMaps(minioClient, activities)

Expand Down

0 comments on commit 69c03d5

Please sign in to comment.