Skip to content

Commit

Permalink
Fixes #784 - Query pending payouts - Get canceled slots (#785)
Browse files Browse the repository at this point in the history
  • Loading branch information
trizin authored Mar 13, 2024
1 parent dea0d52 commit 61389d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdr_backend/subgraph/subgraph_pending_payouts.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def query_pending_payouts(subgraph_url: str, addr: str) -> Dict[str, List[UnixTi
query = """
{
predictPredictions(
where: {user: "%s", payout: null, slot_: {status: "Paying"} }, first: %s, skip: %s
where: {user: "%s", payout: null, slot_: {status_in: ["Paying", "Canceled"]} }, first: %s, skip: %s
) {
id
timestamp
Expand Down

0 comments on commit 61389d8

Please sign in to comment.