refactor cart

This commit is contained in:
2025-12-20 19:36:53 +03:30
parent 6485e51dce
commit 4e117ad42c
3 changed files with 1 additions and 4 deletions
@@ -1,5 +1,4 @@
import { Injectable, NotFoundException, BadRequestException } from '@nestjs/common';
import { EntityManager } from '@mikro-orm/postgresql';
import { DeliveryMethodEnum } from '../../delivery/interface/delivery';
import { PaymentMethodEnum } from '../../payments/interface/payment';
import { OrderCouponDetail } from '../../orders/interface/order.interface';
@@ -22,7 +21,6 @@ import { CartItemService } from './cart-item.service';
@Injectable()
export class CartService {
constructor(
private readonly em: EntityManager,
private readonly cartRepository: CartRepository,
private readonly validationService: CartValidationService,
private readonly calculationService: CartCalculationService,