Remove dummy submitCheckout function

This commit is contained in:
tniezg
2021-09-24 18:52:39 +02:00
parent 20ffd5ae04
commit 0fc678b260

View File

@@ -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,