Browse Source

docs: Fix code example (#3135)

Remove Coupon Code doesn't give ErrorResult 
it only return type of Order
Inderjot Singh 1 năm trước cách đây
mục cha
commit
7f31cda4de
1 tập tin đã thay đổi với 0 bổ sung4 xóa
  1. 0 4
      docs/docs/guides/storefront/active-order/index.mdx

+ 0 - 4
docs/docs/guides/storefront/active-order/index.mdx

@@ -190,10 +190,6 @@ To remove a coupon code from the active order, we use the [`removeCouponCode` mu
 mutation RemoveCouponCode($couponCode: String!) {
   removeCouponCode(couponCode: $couponCode) {
     ...ActiveOrder
-    ... on ErrorResult {
-      errorCode
-      message
-    }
   }
 }
 ```