mirror of
https://github.com/vercel/commerce.git
synced 2025-06-19 05:31:22 +00:00
Update get-all-product-paths.ts
This commit is contained in:
parent
1ddabd2df8
commit
894c6a5a3f
@ -19,7 +19,7 @@ const getAllProductPaths = async (options?: {
|
|||||||
config?: ShopifyConfig
|
config?: ShopifyConfig
|
||||||
preview?: boolean
|
preview?: boolean
|
||||||
}): Promise<ReturnType> => {
|
}): Promise<ReturnType> => {
|
||||||
let { config, variables = { first: 250, sortKey: 'BEST_SELLING' } } =
|
let { config, variables = { first: 100, sortKey: 'BEST_SELLING' } } =
|
||||||
options ?? {}
|
options ?? {}
|
||||||
config = getConfig(config)
|
config = getConfig(config)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user