Skip to content

Commit

Permalink
renamed function
Browse files Browse the repository at this point in the history
  • Loading branch information
pujux committed Sep 22, 2020
1 parent d308449 commit e5677fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class Tinder {
return new Profile(await http.get('/profile'));
}

async getRecommendations() {
async getRecommendedUsers() {
const res = await http.get('/user/recs');
return res.results.map((rec) => new User(rec));
}
Expand Down

0 comments on commit e5677fc

Please sign in to comment.