diff --git a/lib/shopify/index.ts b/lib/shopify/index.ts index c2cc15aa2..64b5d24e8 100644 --- a/lib/shopify/index.ts +++ b/lib/shopify/index.ts @@ -289,7 +289,7 @@ export async function getCollectionProducts({ variables: { handle: collection, reverse, - sortKey + sortKey: sortKey === 'CREATED_AT' ? 'CREATED' : sortKey } });