mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(Raindrop Node): Fix issue refreshing OAuth2 credentials
🐛 Fix issue refreshing access token
This commit is contained in:
@@ -1146,6 +1146,9 @@ export class HttpRequest implements INodeType {
|
||||
tokenType: 'Bearer',
|
||||
property: 'authed_user.access_token',
|
||||
},
|
||||
raindropOAuth2Api: {
|
||||
includeCredentialsOnRefreshOnBody: true,
|
||||
},
|
||||
boxOAuth2Api: {
|
||||
includeCredentialsOnRefreshOnBody: true,
|
||||
},
|
||||
|
||||
@@ -40,7 +40,7 @@ export async function raindropApiRequest(
|
||||
}
|
||||
|
||||
try {
|
||||
return await this.helpers.requestOAuth2!.call(this, 'raindropOAuth2Api', options);
|
||||
return await this.helpers.requestOAuth2!.call(this, 'raindropOAuth2Api', options, { includeCredentialsOnRefreshOnBody: true });
|
||||
} catch (error) {
|
||||
throw new NodeApiError(this.getNode(), error);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user