needsFunding function updated

This commit is contained in:
Jordi Montes 2018-01-20 17:26:49 +01:00
parent 386b1176a4
commit 7f353ce0c3
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ const bountyLabels = {
};
const needsFunding = function(req) {
if (req.action !== 'created' || !req.hasOwnProperty('comment'))
if (req.body.action !== 'created' || !req.body.hasOwnProperty('comment'))
return false
//else if (req.comment.user.login !== 'status-open-bounty')
// return false