mirror of
https://github.com/status-im/autobounty.git
synced 2025-02-05 18:23:22 +00:00
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…
x
Reference in New Issue
Block a user