Api v3 fixes continued (#7205)

* Added timzeone offset back

* Added APIToken back to settings page

* Fixed fetch recent messages for party

* Fixed returning group description

* Fixed check if user is member of challenge

* Fixed party members appearing in header

* Updated get myGroups param to include public groups. Fixed isMemberOf group

* Fixed hourglass purchase

* Fixed challenge addding tasks on first creating

* Updated tests to accomidate new changes
This commit is contained in:
Keith Holliday
2016-05-13 16:36:25 -05:00
committed by Matteo Pagliazzi
parent cc20812674
commit 1fd7df7521
12 changed files with 72 additions and 49 deletions

View File

@@ -96,7 +96,7 @@ api.getGroups = {
if (validationErrors) throw validationErrors;
let types = req.query.type.split(',');
let groupFields = basicGroupFields.concat('description memberCount balance');
let groupFields = basicGroupFields.concat(' description memberCount balance');
let sort = '-memberCount';
let results = await Group.getGroups({user, types, groupFields, sort});