🐛 Correct paging parameter on Strava Node (#1804)

This commit is contained in:
Omar Ajoue 2021-05-20 02:47:55 +02:00 committed by GitHub
parent 481dbae16b
commit 7ccc0f40a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -137,7 +137,7 @@ export class Strava implements INodeType {
responseData = await stravaApiRequestAllItems.call(this, 'GET', `/activities`, {}, qs);
} else {
qs.limit = this.getNodeParameter('limit', i) as number;
qs.per_page = this.getNodeParameter('limit', i) as number;
responseData = await stravaApiRequest.call(this, 'GET', `/activities`, {}, qs);
}