mirror of
https://github.com/vercel/commerce.git
synced 2025-07-25 11:11:24 +00:00
Updated catalog products
This commit is contained in:
@@ -1,11 +1,4 @@
|
||||
import products from '@commerce/api/endpoints/catalog/products'
|
||||
import {
|
||||
ProductsAPI,
|
||||
handlers,
|
||||
} from '@framework/api/endpoints/catalog/products'
|
||||
import productsApi from '@framework/api/endpoints/catalog/products'
|
||||
import commerce from '@lib/api/commerce'
|
||||
|
||||
export default commerce.endpoint({
|
||||
handler: products as ProductsAPI['endpoint']['handler'],
|
||||
handlers,
|
||||
})
|
||||
export default productsApi(commerce)
|
||||
|
Reference in New Issue
Block a user