From 75115983c9655c9f40b967f2f42d106ad75b4b85 Mon Sep 17 00:00:00 2001 From: Tiago Gimenes Date: Fri, 1 Oct 2021 18:32:12 -0300 Subject: [PATCH] add more comments --- packages/store-api/src/platforms/vtex/resolvers/validateCart.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/store-api/src/platforms/vtex/resolvers/validateCart.ts b/packages/store-api/src/platforms/vtex/resolvers/validateCart.ts index 8ef7e88190..5db58583c0 100644 --- a/packages/store-api/src/platforms/vtex/resolvers/validateCart.ts +++ b/packages/store-api/src/platforms/vtex/resolvers/validateCart.ts @@ -76,7 +76,7 @@ const equals = (of1: OrderForm, of2: OrderForm) => { * The algoritm is something like: * 1. Fetch orderForm from VTEX * 2. Compute delta changes between the orderForm and the UI's cart - * 3. Update the orderForm accordingly + * 3. Update the orderForm in VTEX platform accordingly * 4. If any chages were made, send to the UI the new cart. Null otherwise */ export const validateCart = async (