mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
Remove dummy submitCheckout function
This commit is contained in:
@@ -12,10 +12,7 @@ export type CheckoutAPI = GetAPISchema<
|
|||||||
|
|
||||||
export type CheckoutEndpoint = CheckoutAPI['endpoint']
|
export type CheckoutEndpoint = CheckoutAPI['endpoint']
|
||||||
|
|
||||||
export const handlers: CheckoutEndpoint['handlers'] = {
|
export const handlers: CheckoutEndpoint['handlers'] = { getCheckout }
|
||||||
getCheckout,
|
|
||||||
submitCheckout: () => {},
|
|
||||||
}
|
|
||||||
|
|
||||||
const checkoutApi = createEndpoint<CheckoutAPI>({
|
const checkoutApi = createEndpoint<CheckoutAPI>({
|
||||||
handler: checkoutEndpoint,
|
handler: checkoutEndpoint,
|
||||||
|
Reference in New Issue
Block a user