From 65cf24f68ba51038655cd4915f53c75f620394fe Mon Sep 17 00:00:00 2001 From: morteza-mortezai Date: Thu, 18 Dec 2025 11:36:38 +0330 Subject: [PATCH] cart --- src/modules/cart/controllers/cart.controller.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/cart/controllers/cart.controller.ts b/src/modules/cart/controllers/cart.controller.ts index 32b77bf..d42864e 100644 --- a/src/modules/cart/controllers/cart.controller.ts +++ b/src/modules/cart/controllers/cart.controller.ts @@ -169,8 +169,8 @@ export class CartController { setAllCartParams( @UserId() userId: string, @RestId() restaurantId: string, - @Body() setCarDeliveryDto: SetCarDeliveryDto, + @Body() dto: SetAllCartParmsDto, ) { - return this.cartService.setCarDelivery(userId, restaurantId, setCarDeliveryDto); + return this.cartService.setAllCartParams(userId, restaurantId, dto); } }