send back user bio on giveBroniePoints

This commit is contained in:
Berkeley Martinez
2015-07-31 12:15:23 -07:00
parent 4b47e5282c
commit f1b964a26d

View File

@ -10,12 +10,14 @@ const debug = debugFactory('freecc:user:remote');
function getAboutProfile({ function getAboutProfile({
username, username,
githubProfile: github, githubProfile: github,
progressTimestamps = [] progressTimestamps = [],
bio
}) { }) {
return { return {
username, username,
github, github,
browniePoints: progressTimestamps.length browniePoints: progressTimestamps.length,
bio
}; };
} }
@ -294,5 +296,5 @@ module.exports = function(User) {
verb: 'get' verb: 'get'
} }
} }
); );
}; };