mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-21 21:34:15 +00:00
commit
fe6bb48dce
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ var populateQuery = function(type, q){
|
|||
q.populate({
|
||||
path: 'challenges',
|
||||
select: challengeFields,
|
||||
options: {sort: [['timestamp',-1]]}
|
||||
options: {sort: {'timestamp': -1}}
|
||||
});
|
||||
return q;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue