Skip to content

Commit

Permalink
fix(5313-dataloaders-not-found): eslint fix
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Haproff <[email protected]>
  • Loading branch information
Alex Haproff committed Jul 15, 2019
1 parent 880741e commit 10b266d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default async function inventoryForProductConfigurations(context, input)

const productVariantIds = productConfigurations.map(({ productVariantId }) => productVariantId);

const inventoryDocs = dataLoaders
const inventoryDocs = dataLoaders
? await dataLoaders.SimpleInventoryByProductVariantId.loadMany(productVariantIds)
: await collections.SimpleInventory
.find({
Expand Down

0 comments on commit 10b266d

Please sign in to comment.