mirror of
https://github.com/vercel/commerce.git
synced 2025-07-24 10:41:23 +00:00
Fix build errors
This commit is contained in:
@@ -19,7 +19,7 @@ const getAllProducts = async (options: {
|
||||
}): Promise<ReturnType> => {
|
||||
let { config, variables = { first: 250 } } = options ?? {}
|
||||
config = getConfig(config)
|
||||
const { results } = await config.fetchSwell('products', 'list', [
|
||||
const { results } = await config.fetch('products', 'list', [
|
||||
{
|
||||
limit: variables.first,
|
||||
},
|
||||
|
Reference in New Issue
Block a user