Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
aleortega committed Aug 9, 2024
1 parent 9368aab commit 965b7e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lambdas/src/ports/the-graph-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ export async function createTheGraphClient(components: {
start = queried[queried.length - 1]?.id
shouldContinue = queried.length === MAX_PAGE_SIZE && !!start
}

return result!
}

Expand All @@ -263,7 +264,7 @@ export async function createTheGraphClient(components: {
const ethereumWearablesPromise = getItemsByOwner('collectionsSubgraph', owner, itemTypes)
const maticWearablesPromise = getItemsByOwner('maticCollectionsSubgraph', owner, itemTypes)
const [ethereumWearables, maticWearables] = await Promise.all([ethereumWearablesPromise, maticWearablesPromise])

logger.debug('Matic wearables response from Graph', { maticWearables: maticWearables.join(', ') })
return ethereumWearables.concat(maticWearables)
}

Expand Down

0 comments on commit 965b7e7

Please sign in to comment.