Rename get-all-products.ts to get-all-product.ts

This commit is contained in:
l198881 2021-05-25 19:07:48 -03:00 committed by GitHub
parent ea124728e7
commit caec20ebc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ ReturnType = {
config?: ShopifyConfig config?: ShopifyConfig
preview?: boolean preview?: boolean
}): PromiseReturnType => { }): PromiseReturnType => {
let { config, variables = { first: 250 } } = options ?? {} { config, variables = { first: 250 } } = options ?? {}
config = getConfig(config) config = getConfig(config)
{ data }: GraphQLFetcherResult = config.fetch( { data }: GraphQLFetcherResult = config.fetch(