Update get-all-product-paths.ts

This commit is contained in:
cond0r 2021-05-13 09:15:16 +03:00
parent 1ddabd2df8
commit 894c6a5a3f

View File

@ -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)