diff options
Diffstat (limited to 'strava')
| -rw-r--r-- | strava/sync.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/strava/sync.go b/strava/sync.go index a492a47..b8fa428 100644 --- a/strava/sync.go +++ b/strava/sync.go @@ -147,7 +147,8 @@ func activityGPX(activity Activity, streams activityStreams) ([]byte, error) { for i := range streams.LatLng { point := gpx.GPXPoint{ Latitude: streams.LatLng[i][0], - Longitude: streams.LatLng[i][1]} + Longitude: streams.LatLng[i][1], + } if i < len(streams.Altitude) { point.Elevation = *gpx.NewNullableFloat64(streams.Altitude[i]) } |
