Created
December 11, 2017 16:36
-
-
Save diego3g/33ea6adee255075766740ee645e30e58 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
api.get('/users/diego3g').then(user => { | |
api.get(`/groups/${user.id}`).then(groups => { | |
groups.map(group => { | |
api.get(`/group/${group.id}`).then(groupInfo => { | |
console.log(groupInfo); | |
}); | |
}) | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment