Skip to content

Commit

Permalink
remove limit on offerOpenSales
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasMahe committed Feb 2, 2024
1 parent abe8558 commit be9538b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions components/HomeSection/Featured.gql
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ query FetchFeaturedAssets(
}
sales: offerOpenSales(
orderBy: [UNIT_PRICE_IN_REF_ASC, CREATED_AT_ASC]
filter: { expiredAt: { greaterThan: $now }, and: $salesFilter }
first: 100 # TODO: implement pagination. when implementing pagination, find a way to get availableQuantity of all sales
filter: { expiredAt: { greaterThan: $now }, and: $salesFilter } # TODO: implement pagination. when implementing pagination, find a way to get availableQuantity of all sales
) {
nodes {
id
Expand Down
3 changes: 1 addition & 2 deletions pages/tokens/[id]/index.gql
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,7 @@ query FetchAsset(
collectionAddress: { equalTo: $collectionAddress }
tokenId: { equalTo: $tokenId }
expiredAt: { greaterThan: $now }
}
first: 100 # TODO: implement pagination. when implementing pagination, find a way to get availableQuantity of all sales
} # TODO: implement pagination. when implementing pagination, find a way to get availableQuantity of all sales
) {
nodes {
id
Expand Down

0 comments on commit be9538b

Please sign in to comment.