Browse Source

add preferences to wallet status

activeAddress
Ivan Socolsky 10 years ago
parent
commit
eace1295ea
  1. 7
      lib/expressapp.js

7
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);

Loading…
Cancel
Save