feat(Mattermost Node): Add self signed certificate support (#5630)

This commit is contained in:
Jon
2023-03-06 16:27:49 +00:00
committed by GitHub
parent 45ccdd3bb5
commit 01a2160b3b
2 changed files with 9 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ export async function apiRequest(
headers: {
'content-type': 'application/json; charset=utf-8',
},
skipSslCertificateValidation: credentials.allowUnauthorizedCerts as boolean,
};
return this.helpers.httpRequestWithAuthentication.call(this, 'mattermostApi', options);