Skip to content

Commit

Permalink
[frontend] store settings update
Browse files Browse the repository at this point in the history
  • Loading branch information
ar2rsawseen committed Aug 25, 2015
1 parent ddb0065 commit 0349639
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frontend/express/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,10 @@ app.post(countlyConfig.path+'/dashboard/settings', function (req, res, next) {
return false;
}

countlyDb.collection('settings').update({}, {'$set':{'appSortList':newAppOrder}}, {'upsert':true});
countlyDb.collection('settings').update({}, {'$set':{'appSortList':newAppOrder}}, {'upsert':true}, function(){
res.end();
return false;
});
});

app.post(countlyConfig.path+'/apps/icon', function (req, res, next) {
Expand Down

0 comments on commit 0349639

Please sign in to comment.