mirror of
https://github.com/status-im/autobounty.git
synced 2025-02-27 12:30:42 +00:00
needsFunding function updated
This commit is contained in:
parent
386b1176a4
commit
7f353ce0c3
@ -22,7 +22,7 @@ const bountyLabels = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const needsFunding = function(req) {
|
const needsFunding = function(req) {
|
||||||
if (req.action !== 'created' || !req.hasOwnProperty('comment'))
|
if (req.body.action !== 'created' || !req.body.hasOwnProperty('comment'))
|
||||||
return false
|
return false
|
||||||
//else if (req.comment.user.login !== 'status-open-bounty')
|
//else if (req.comment.user.login !== 'status-open-bounty')
|
||||||
// return false
|
// return false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user