send back user bio on giveBroniePoints
This commit is contained in:
@ -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'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user