needsFunding function updated
This commit is contained in:
parent
386b1176a4
commit
7f353ce0c3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue