Skip to content

Commit

Permalink
fix: get conversation participants + get user modification date
Browse files Browse the repository at this point in the history
  • Loading branch information
hfreire committed Aug 27, 2017
1 parent 28923e2 commit 3ba6f22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/happn-wrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ class HappnWrapper {
'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)'
fields: 'id,modification_date,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 Expand Up @@ -188,7 +188,7 @@ class HappnWrapper {
qs: {
limit,
offset,
fields: 'id,creation_date,modification_date,is_read'
fields: 'id,participants.fields(user.fields(id,first_name)),creation_date,modification_date,is_read'
},
json: true
}
Expand Down

0 comments on commit 3ba6f22

Please sign in to comment.