Fix typing

Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
This commit is contained in:
Chloe 2022-05-17 17:17:39 +07:00
parent 630b4ba486
commit d6b47cad1a

View File

@ -61,7 +61,6 @@ const addItem: CustomerAddressEndpoint['handlers']['addItem'] = async ({
updateFulfillmentOptionsForGroup.cart.checkout.fulfillmentGroups[0] updateFulfillmentOptionsForGroup.cart.checkout.fulfillmentGroups[0]
._id, ._id,
fulfillmentMethodId: fulfillmentMethodId:
item.shippingMethodId ||
updateFulfillmentOptionsForGroup.cart.checkout.fulfillmentGroups[0] updateFulfillmentOptionsForGroup.cart.checkout.fulfillmentGroups[0]
.availableFulfillmentOptions[0].fulfillmentMethod._id, .availableFulfillmentOptions[0].fulfillmentMethod._id,
}, },