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