-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix undefined runtime error when authenticating. (#76)
The main objective behind doing these changes are fixing `TypeError` thrown seen when authenticating. While digging it seems this was always failing with this runtime error when doing a second authentication request in a row, probably meaning the credentials are invalid. Fixed by converting use of `Q` for promises, to native `Promise` since we've got that at our disposal now that we required Node.js v4.x. Fixes #72
- Loading branch information
Showing
3 changed files
with
27 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters