mirror of
https://github.com/vercel/commerce.git
synced 2025-06-19 13:41:22 +00:00
Rename get-all-products.ts to get-all-product.ts
This commit is contained in:
parent
ea124728e7
commit
caec20ebc6
@ -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(
|
Loading…
x
Reference in New Issue
Block a user