Skip to content
This repository was archived by the owner on Jul 19, 2022. It is now read-only.

Conversation

@fredsmoo
Copy link
Contributor

No description provided.

… Write test for an error case inside app auth.
@fredsmoo fredsmoo assigned fredsmoo and srn and unassigned fredsmoo May 12, 2015
lib/auth.js Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to pass the err all the way to the top, like this: https://github.com/podio/podio-js/blob/master/lib/auth.js#L104

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right, was assuming that _authenticate will call the callback itself, but we don't pass it the callback. Will fix

@coveralls
Copy link

Coverage Status

Coverage increased (+0.03%) to 92.33% when pulling ec457bf on app_auth2 into f52bc66 on master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.08%) to 92.39% when pulling 15cf175 on app_auth2 into f52bc66 on master.

srn pushed a commit that referenced this pull request May 12, 2015
Following the Node convention with the err argument.
@srn srn merged commit 8c784cd into master May 12, 2015
@srn srn deleted the app_auth2 branch May 12, 2015 11:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants