mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -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',
|
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) {
|
||||||
|
|
Loading…
Reference in a new issue