mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
fix(Gotify Node): Fix issue with self signed certificates not working (#9647)
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user