mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -08:00
⚡ Add option to ignore SSL issues to Graph API node (#703)
This commit is contained in:
parent
d221f6dd97
commit
a6557e32dc
|
@ -137,6 +137,13 @@ export class FacebookGraphApi implements INodeType {
|
|||
placeholder: 'videos',
|
||||
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',
|
||||
name: 'sendBinaryData',
|
||||
|
@ -301,6 +308,7 @@ export class FacebookGraphApi implements INodeType {
|
|||
qs: {
|
||||
access_token: graphApiCredentials!.accessToken,
|
||||
},
|
||||
rejectUnauthorized: !this.getNodeParameter('allowUnauthorizedCerts', itemIndex, false) as boolean,
|
||||
};
|
||||
|
||||
if (options !== undefined) {
|
||||
|
|
Loading…
Reference in a new issue