mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
🐛 Add credentials in the body to be able to refresh the access token (#1543)
This commit is contained in:
@@ -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) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user