Skip to content

Commit

Permalink
Update Activity.swift
Browse files Browse the repository at this point in the history
Fixed missing string terminator in gear_id initialiser
  • Loading branch information
FleetPhil authored Jul 7, 2020
1 parent 193cad0 commit 6f83d5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/StravaSwift/Activity.swift
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public final class Activity: Strava {
flagged = json["flagged"].bool
workoutType = json["workout_type"].strava(WorkoutType.self)
gear = json["gear"].strava(Gear.self)
gearID = json["gear_id].string
gearID = json["gear_id"].string
averageSpeed = json["average_speed"].double
maxSpeed = json["max_speed"].double
calories = json["calories"].double
Expand Down

0 comments on commit 6f83d5b

Please sign in to comment.