diff --git a/lambdas/src/ports/the-graph-client.ts b/lambdas/src/ports/the-graph-client.ts index 5efe92071..dda564adf 100644 --- a/lambdas/src/ports/the-graph-client.ts +++ b/lambdas/src/ports/the-graph-client.ts @@ -238,6 +238,7 @@ export async function createTheGraphClient(components: { start = queried[queried.length - 1]?.id shouldContinue = queried.length === MAX_PAGE_SIZE && !!start } + return result! } @@ -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) }