Closed Batyodie closed 6 months ago
Whoops, yeah. That triple negation there still required me to look at it a bunch before I saw the problem. Thanks for fixing it!
:tada: This PR is included in version 1.0.2 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
I have found a bug when working in development mode for a real Jira client.
I use ngrok to create https for my node backend. When using your library, I pass strictSSL in the client settings:
As a result, when a POST request is sent, the request fails with errors.
When using the classic Jira client, there was no such problem, so I started looking at the sources and discovered the difference
Apparently the bug was in a wrong negation(
!options.strictSSL
), and there was also a bug in the tests that failed to check this script.It turns out that when strictSSL is disabled, on the contrary, it is enabled. Fixed this behaviour and added tests.