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({
username,
githubProfile: github,
progressTimestamps = []
progressTimestamps = [],
bio
}) {
return {
username,
github,
browniePoints: progressTimestamps.length
browniePoints: progressTimestamps.length,
bio
};
}
@ -294,5 +296,5 @@ module.exports = function(User) {
verb: 'get'
}
}
);
);
};