From 0fc678b260e9cbf76ebf1b427b32f4b7c3fdcc99 Mon Sep 17 00:00:00 2001 From: tniezg Date: Fri, 24 Sep 2021 18:52:39 +0200 Subject: [PATCH] Remove dummy submitCheckout function --- framework/spree/api/endpoints/checkout/index.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/framework/spree/api/endpoints/checkout/index.ts b/framework/spree/api/endpoints/checkout/index.ts index cd4ffea5d..0a5ee9e72 100644 --- a/framework/spree/api/endpoints/checkout/index.ts +++ b/framework/spree/api/endpoints/checkout/index.ts @@ -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({ handler: checkoutEndpoint,