mirror of
https://github.com/vercel/commerce.git
synced 2025-07-25 11:11:24 +00:00
Updated CommerceAPI class for better usage
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
import cartApi from '@framework/api/cart'
|
||||
import cart from '@commerce/api/endpoints/cart'
|
||||
import commerce from '@lib/api/commerce'
|
||||
|
||||
const x = commerce.endpoint({ handler: cart, operations: {} as any })
|
||||
|
||||
export default cartApi()
|
||||
|
Reference in New Issue
Block a user