glpi-project / node-module-glpi

Node client to interact with GLPI API REST
https://glpi-project.github.io/node-module-glpi/
GNU General Public License v3.0
8 stars 9 forks source link

Compile and minify library #29

Closed Gianfranco97 closed 6 years ago

Gianfranco97 commented 6 years ago

Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

What is the current behavior?

Close: #30 Close: #31

What is the new behavior?

In this PR:

Does this PR introduce a breaking change?

Gianfranco97 commented 6 years ago

I have problems in the tests with two functions:

I do not know if this happens because of some mistake of mine or if it is due to some change that has occurred in the backend since the last time we worked in this library. I'm trying to figure out why this happens and fix it if possible.

Gianfranco97 commented 6 years ago

I already know what the problems were. In the resetPasswordRequest I tried to make a request to the email "gmanganiello@teclib.com" but it turns out that there is more than one user registered with that email and when dealing with a request to change the password, an error returns. The problem of initSessionByUserToken was a bit easier, it turns out that I was trying to login with my "Personal Token" but the data that was needed was my "API token".