fix: 🐛 fix error with checkout endpoint

This commit is contained in:
Bolaji 2022-03-01 08:24:17 +01:00
parent 57c8d78234
commit 46fff00060
No known key found for this signature in database
GPG Key ID: 00342E72694643BB
2 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
import { GetAPISchema, createEndpoint, CommerceAPI } from '@commerce/api'
import checkoutEndpoint from '@commerce/api/endpoints/checkout'
import type { CheckoutSchema } from '@commerce/types/checkout'
import { GetAPISchema, createEndpoint, CommerceAPI } from '@vercel/commerce/api'
import checkoutEndpoint from '@vercel/commerce/api/endpoints/checkout'
import type { CheckoutSchema } from '@vercel/commerce/types/checkout'
import getCheckout from './get-checkout'
export const handlers: CheckoutEndpoint['handlers'] = { getCheckout }

View File

@ -23,8 +23,8 @@
"@components/*": ["components/*"],
"@commerce": ["../packages/commerce/src"],
"@commerce/*": ["../packages/commerce/src/*"],
"@framework": ["../packages/local/src"],
"@framework/*": ["../packages/local/src/*"]
"@framework": ["../packages/commercelayer/src"],
"@framework/*": ["../packages/commercelayer/src/*"]
}
},
"include": ["next-env.d.ts", "**/*.d.ts", "**/*.ts", "**/*.tsx", "**/*.js"],