Skip to content

Commit a2624e4

Browse files
committed
Fix direct allocation query
1 parent f10db35 commit a2624e4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

packages/data-layer/src/queries.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -840,11 +840,15 @@ export const getDirectDonationsByProjectId = gql`
840840
query getDirectDonationsByProjectId($projectId: String!, $chainIds: [Int!]!) {
841841
rounds(
842842
filter: {
843-
strategyId: { equalTo: "0x4cd0051913234cdd7d165b208851240d334786d6e5afbb4d0eec203515a9c6f3" }
843+
strategyId: {
844+
equalTo: "0x4cd0051913234cdd7d165b208851240d334786d6e5afbb4d0eec203515a9c6f3"
845+
}
844846
chainId: { in: $chainIds }
845-
donations: { every: { projectId: { equalTo: $projectId } } }
846847
}
847848
) {
849+
donations(filter: { projectId: { equalTo: $projectId } }) {
850+
id
851+
}
848852
id
849853
uniqueDonorsCount
850854
totalAmountDonatedInUsd

0 commit comments

Comments
 (0)