File tree Expand file tree Collapse file tree 3 files changed +9988
-343
lines changed
strava/api/client/endpoints/clubs Expand file tree Collapse file tree 3 files changed +9988
-343
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class ClubEvent < Strava::Models::Response
1111 property 'club' , transform_with : -> ( c ) { Strava ::Models ::Club . new ( c ) }
1212 property 'organizing_athlete' , transform_with : -> ( oa ) { Strava ::Models ::Athlete . new ( oa ) }
1313 property 'activity_type'
14- property 'created_at' , transform_with : -> ( v ) { Time . parse ( v ) }
14+ property 'created_at' , transform_with : -> ( v ) { Time . parse ( v ) if v &. length &. positive? }
1515 property 'route_id'
1616 property 'route' , transform_with : -> ( r ) { Strava ::Models ::Route . new ( r ) }
1717 property 'women_only'
@@ -21,6 +21,7 @@ class ClubEvent < Strava::Models::Response
2121 property 'upcoming_occurrences' , transform_with : -> ( upcoming ) { upcoming . map { |o | Time . parse ( o ) } }
2222 property 'zone'
2323 property 'address'
24+ property 'joined'
2425 property 'start_latlng'
2526
2627 def strava_url
You can’t perform that action at this time.
0 commit comments