mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +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 {
|
} else {
|
||||||
//@ts-ignore
|
//@ts-ignore
|
||||||
return await this.helpers.requestOAuth2.call(this, 'stravaOAuth2Api', options);
|
return await this.helpers.requestOAuth2.call(this, 'stravaOAuth2Api', options, { includeCredentialsOnRefreshOnBody: true });
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user