mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
⚡ Add option to ignore SSL issues to Graph API node (#703)
This commit is contained in:
@@ -137,6 +137,13 @@ export class FacebookGraphApi implements INodeType {
|
|||||||
placeholder: 'videos',
|
placeholder: 'videos',
|
||||||
required: false,
|
required: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
displayName: 'Ignore SSL Issues',
|
||||||
|
name: 'allowUnauthorizedCerts',
|
||||||
|
type: 'boolean',
|
||||||
|
default: false,
|
||||||
|
description: 'Still download the response even if SSL certificate validation is not possible. (Not recommended)',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Send Binary Data',
|
displayName: 'Send Binary Data',
|
||||||
name: 'sendBinaryData',
|
name: 'sendBinaryData',
|
||||||
@@ -301,6 +308,7 @@ export class FacebookGraphApi implements INodeType {
|
|||||||
qs: {
|
qs: {
|
||||||
access_token: graphApiCredentials!.accessToken,
|
access_token: graphApiCredentials!.accessToken,
|
||||||
},
|
},
|
||||||
|
rejectUnauthorized: !this.getNodeParameter('allowUnauthorizedCerts', itemIndex, false) as boolean,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (options !== undefined) {
|
if (options !== undefined) {
|
||||||
|
|||||||
Reference in New Issue
Block a user