Allow property SportType in strava.activities.update
Closed this issue · 3 comments
pro-sumer commented
Strava introduced a new property SportType:
SportType: An enumeration of the sport types an activity may have. Distinct from ActivityType in that it has new types (e.g. MountainBikeRide)
Can you please add this to the allowed properties for strava.activities.update
?
I think you only need to add it to the _updateAllowedProps
array in activities.js
to support this?
(use case: bulk changing my "rides" to MTB rides)
markstos commented
PR welcome. In the PR submission, please provide notes about how the change was tested.
markstos commented
This is a community-maintained module now. The original author is no longer active. I'm another user like you who happens to have commit access. I don't need this feature now but am willing to review and release it.