Skip to content

Commit

Permalink
fix: remove custom query
Browse files Browse the repository at this point in the history
  • Loading branch information
marcomariscal committed Jul 17, 2024
1 parent ed42a59 commit 2eec17c
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,12 @@ async function getAnnouncementsUsingSubgraph({
subgraphUrl,
fromBlock,
toBlock,
query,
filterOptions,
pageSize = 1000
}: GetAnnouncementsUsingSubgraphParams): Promise<GetAnnouncementsUsingSubgraphReturnType> {
const client = new GraphQLClient(subgraphUrl);

const gqlQuery =
query ??
`
const gqlQuery = `
query GetAnnouncements($fromBlock: Int, $toBlock: Int, $first: Int, $skip: Int, $caller: String) {
announcementEntities(
where: {
Expand Down

0 comments on commit 2eec17c

Please sign in to comment.