We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f10db35 commit a2624e4Copy full SHA for a2624e4
packages/data-layer/src/queries.ts
@@ -840,11 +840,15 @@ export const getDirectDonationsByProjectId = gql`
840
query getDirectDonationsByProjectId($projectId: String!, $chainIds: [Int!]!) {
841
rounds(
842
filter: {
843
- strategyId: { equalTo: "0x4cd0051913234cdd7d165b208851240d334786d6e5afbb4d0eec203515a9c6f3" }
+ strategyId: {
844
+ equalTo: "0x4cd0051913234cdd7d165b208851240d334786d6e5afbb4d0eec203515a9c6f3"
845
+ }
846
chainId: { in: $chainIds }
- donations: { every: { projectId: { equalTo: $projectId } } }
847
}
848
) {
849
+ donations(filter: { projectId: { equalTo: $projectId } }) {
850
+ id
851
852
id
853
uniqueDonorsCount
854
totalAmountDonatedInUsd
0 commit comments