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 const handlers: CheckoutEndpoint['handlers'] = {
|
||||
getCheckout,
|
||||
submitCheckout: () => {},
|
||||
}
|
||||
export const handlers: CheckoutEndpoint['handlers'] = { getCheckout }
|
||||
|
||||
const checkoutApi = createEndpoint<CheckoutAPI>({
|
||||
handler: checkoutEndpoint,
|
||||
|
Reference in New Issue
Block a user