diff --git a/lib/expressapp.js b/lib/expressapp.js index 4b7dad2..1bdad35 100644 --- a/lib/expressapp.js +++ b/lib/expressapp.js @@ -178,6 +178,13 @@ ExpressApp.prototype.start = function(opts, cb) { next(); }); }, + function(next) { + server.getPreferences({}, function(err, preferences) { + if (err) return next(err); + result.preferences = preferences; + next(); + }); + }, ], function(err) { if (err) return returnError(err, res, req); res.json(result);