get a list of buyable gear

This commit is contained in:
Negue
2014-08-25 18:23:04 +02:00
parent ef548ec9ed
commit 8fa565e9a0
2 changed files with 11 additions and 0 deletions
+6
View File
@@ -161,6 +161,12 @@ api.getTask = function(req, res, next) {
*/
// api.buy // handled in Shard.ops
api.getBuyList = function (req, res, next) {
var list = shared.updateStore(res.locals.user);
return res.json(200, list);
};
/*
------------------------------------------------------------------------
User