Fix confirmed-payouts query
Fixes this use case: - two competing claims - one merged and signed-off -> GH paid comment shows wrong username in
This commit is contained in:
parent
8e4e27ffbe
commit
39d661feff
|
@ -315,6 +315,7 @@ WHERE
|
||||||
p.issue_id = i.issue_id
|
p.issue_id = i.issue_id
|
||||||
AND p.repo_id = i.repo_id
|
AND p.repo_id = i.repo_id
|
||||||
AND r.repo_id = i.repo_id
|
AND r.repo_id = i.repo_id
|
||||||
|
AND p.state = 1
|
||||||
AND u.id = p.user_id
|
AND u.id = p.user_id
|
||||||
AND i.payout_receipt IS NULL
|
AND i.payout_receipt IS NULL
|
||||||
AND i.payout_hash IS NOT NULL;
|
AND i.payout_hash IS NOT NULL;
|
||||||
|
|
Loading…
Reference in New Issue