Login() // this method must return a promise! | |
.then( | |
// the promise login() returns the oAuth token and dependency injects it into the resolve method of our fetchData() class | |
new fetchData() | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment