Created
April 8, 2019 20:50
-
-
Save pratyushcrd/4f08faf22e136178497de19cd5c08f62 to your computer and use it in GitHub Desktop.
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
function showFavouriteArticles () { | |
getUser() | |
.then(user => getFavouriteArticles(user)) | |
.then(articles => showArticles(articles)) | |
.catch(err => notifyError(err)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment