mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
fix(Raindrop Node): Fix issue refreshing OAuth2 credentials
🐛 Fix issue refreshing access token
This commit is contained in:
parent
eb8408b000
commit
3163742fd7
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue