Appsolutly/node-regon

Problem with loading when service is done

zibizz1 opened this issue · 0 comments

From time to time my module that is using node-regon, can't be loaded because of login() function which is called on load when autologin==true. I think it should be changed to lazy call, and login() should be done with the first request.

The effect is that when external regon service is down, I can't instantiate new services at that moment, even if I don't need them at this point.