challenges: remove username(), since we're now using user.profile.name

This commit is contained in:
Tyler Renelle
2013-10-28 18:20:21 -07:00
parent c5671550f1
commit 219318b405
6 changed files with 8 additions and 8 deletions

View File

@@ -201,7 +201,7 @@ api.postChat = function(req, res, next) {
contributor: user.backer && user.backer.contributor,
npc: user.backer && user.backer.npc,
text: req.query.message, // FIXME this should be body, but ngResource is funky
user: helpers.username(user.auth, user.profile.name),
user: user.profile.name,
timestamp: +(new Date)
};