feat(valentine): valentine event

This commit is contained in:
Tyler Renelle
2014-02-13 17:57:00 -07:00
parent 8ba12ef392
commit fd6eb8724e
8 changed files with 72 additions and 6 deletions
+1 -1
View File
@@ -409,7 +409,7 @@ api.cast = function(req, res, next) {
case 'user':
async.waterfall([
function(cb){
Group.findOne({type: 'party', members: {'$in': [user._id]}}).populate('members', 'profile.name stats achievements').exec(cb);
Group.findOne({type: 'party', members: {'$in': [user._id]}}).populate('members', 'profile.name stats achievements items.special').exec(cb);
},
function(group, cb) {
// Solo player? let's just create a faux group for simpler code