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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Situation:
I want to update multiple activities with
strava.activities.updateis 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