Pārlūkot izejas kodu

fix(core): Remove duplicate call in applyCouponCode resolver

Michael Bromley 1 gadu atpakaļ
vecāks
revīzija
bffc58a1da

+ 0 - 1
packages/core/src/api/resolvers/shop/shop-order.resolver.ts

@@ -385,7 +385,6 @@ export class ShopOrderResolver {
             true,
             true,
         );
         );
         return this.orderService.applyCouponCode(ctx, order.id, args.couponCode);
         return this.orderService.applyCouponCode(ctx, order.id, args.couponCode);
-        return this.orderService.applyCouponCode(ctx, order.id, args.couponCode);
     }
     }
 
 
     @Transaction()
     @Transaction()