Skip to content

Commit

Permalink
fix: queryservice reference
Browse files Browse the repository at this point in the history
  • Loading branch information
reinamora137 committed Dec 26, 2024
1 parent 3498ca2 commit dee4454
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions routes/src20/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,19 +79,20 @@ export const handler: Handlers = {
// Determine if we need market data based on filters
const hasMarketFilters = Object.keys(marketFilters).length > 0;

const resultData = await SRC20QueryService.fetchAndFormatSrc20DataV2(
{
...baseParams,
...marketFilters,
...dateFilters,
},
{
excludeFullyMinted,
onlyFullyMinted,
includeMarketData: onlyFullyMinted || hasMarketFilters,
enrichWithProgress: true,
},
);
const resultData = await SRC20QueryService.QueryService
.fetchAndFormatSrc20DataV2(
{
...baseParams,
...marketFilters,
...dateFilters,
},
{
excludeFullyMinted,
onlyFullyMinted,
includeMarketData: onlyFullyMinted || hasMarketFilters,
enrichWithProgress: true,
},
);

// We know this will be a paginated response based on the params
if (
Expand Down

0 comments on commit dee4454

Please sign in to comment.