Closed svachon2 closed 5 years ago
workaround: To validate if a session still active, we can use myself.getMyself(false) instead of auth.currentUser()
I corrected this error. Given the update rate of this library, I would use my version
@MrRefactoring I tried using your library, but I'm getting a:
const api = new JiraApi({
is not a constructor. Ideas? (Not TS)
Fixed in version 2.11.0
In auth.js, method currentUser is using:
uri: this.jiraClient.buildURL('/session'),
this should be
uri: this.jiraClient.buildAuthURL('/session'),
in order to use the right authentication API version