From c39504719a8ead68b956e3650e8de38ed4edfb7a Mon Sep 17 00:00:00 2001 From: Ricardo Espinoza Date: Thu, 18 Mar 2021 07:27:19 -0400 Subject: [PATCH] :bug: Add credentials in the body to be able to refresh the access token (#1543) --- packages/nodes-base/nodes/Strava/GenericFunctions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nodes-base/nodes/Strava/GenericFunctions.ts b/packages/nodes-base/nodes/Strava/GenericFunctions.ts index 832ee3e652..8f21ac7f82 100644 --- a/packages/nodes-base/nodes/Strava/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Strava/GenericFunctions.ts @@ -45,7 +45,7 @@ export async function stravaApiRequest(this: IExecuteFunctions | IExecuteSingleF } else { //@ts-ignore - return await this.helpers.requestOAuth2.call(this, 'stravaOAuth2Api', options); + return await this.helpers.requestOAuth2.call(this, 'stravaOAuth2Api', options, { includeCredentialsOnRefreshOnBody: true }); } } catch (error) {