fix(Gotify Node): Fix issue with self signed certificates not working (#9647)

This commit is contained in:
Jon 2024-06-06 12:22:37 +01:00 committed by GitHub
parent 65cd2e8803
commit 68e856d155
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -30,7 +30,7 @@ export async function gotifyApiRequest(
qs,
uri: uri || `${credentials.url}${path}`,
json: true,
rejectUnauthorized: credentials.ignoreSSLIssues as boolean,
rejectUnauthorized: !credentials.ignoreSSLIssues as boolean,
};
try {
if (Object.keys(body as IDataObject).length === 0) {