Replies: 1 comment
-
The Strava REST API doesn't offer that feature as far as I'm aware and neither does this module. But your code could be simpler: const Promise = require('bluebird');
const selectedActivities = [{id: 1}, {id:2}, {id:3}];
await Promise.each(selectedActivities, (activity) => {
return strava.activities.update({ id: activity.id, name: "has been updated" });
}); There's no point in using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Situation:
I want to update multiple activities with
strava.activities.update
is it possible or do in one go.Or would I have to do it once per activity id?
otherwise would this be the best approach?
Beta Was this translation helpful? Give feedback.
All reactions