Last active
October 25, 2018 09:53
-
-
Save SaraVieira/9f4b4f4b0f73a34fbeb460f37703606d 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
async getUsers(people = 10) { | |
const user = await this.get(`/?results=${people}`); | |
return user.results; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment