Skip to content

Commit

Permalink
fix: request more fields when getting user
Browse files Browse the repository at this point in the history
  • Loading branch information
hfreire committed Jun 25, 2017
1 parent eee28c8 commit 5a12c7b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/happn-wrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,9 @@ class HappnWrapper {
headers: {
'Authorization': `OAuth="${this._accessToken}"`
},
qs: {
fields: 'id,about,job,is_accepted,birth_date,workplace,my_relation,distance,gender,my_conversation,is_charmed,nb_photos,first_name,last_name,age,profiles.mode(1).width(360).height(640).fields(width,height,mode,url)'
},
json: true
}

Expand Down

0 comments on commit 5a12c7b

Please sign in to comment.