Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Donations returning null projects in applications object #508

Open
codenamejason opened this issue Mar 21, 2024 · 0 comments
Open

Donations returning null projects in applications object #508

codenamejason opened this issue Mar 21, 2024 · 0 comments

Comments

@codenamejason
Copy link
Contributor

{
    donations(
       filter:
           {
               donorAddress: {equalTo: "0x37e5e6eb36467f98392ebbb35f110fbb8238e6d3"}, 
               application: {projectExists: true}
           }
    ) {
      id
      chainId
      projectId
      roundId
      recipientAddress
      applicationId
      tokenAddress
      donorAddress
      amount
      amountInUsd
      transactionHash
      blockNumber
      round {
        roundMetadata
        donationsStartTime
        donationsEndTime
      }
      application {
        project {
          name
          
        }
      }
    }
  }

Had to add the projectExists filter to remove null projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant