mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 05:17:28 -08:00
fix(Gotify Node): Fix issue with self signed certificates not working (#9647)
This commit is contained in:
parent
65cd2e8803
commit
68e856d155
|
@ -30,7 +30,7 @@ export async function gotifyApiRequest(
|
||||||
qs,
|
qs,
|
||||||
uri: uri || `${credentials.url}${path}`,
|
uri: uri || `${credentials.url}${path}`,
|
||||||
json: true,
|
json: true,
|
||||||
rejectUnauthorized: credentials.ignoreSSLIssues as boolean,
|
rejectUnauthorized: !credentials.ignoreSSLIssues as boolean,
|
||||||
};
|
};
|
||||||
try {
|
try {
|
||||||
if (Object.keys(body as IDataObject).length === 0) {
|
if (Object.keys(body as IDataObject).length === 0) {
|
||||||
|
|
Loading…
Reference in a new issue