From 096c3eee52aaf0c465f19fb2ded14ae1bb576371 Mon Sep 17 00:00:00 2001 From: nghiavohuynhdai Date: Sun, 18 Feb 2024 16:28:41 +0700 Subject: [PATCH] [Fix][Cart] Fix cannot delete item in cart --- src/cart/dto/cart.dto.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cart/dto/cart.dto.ts b/src/cart/dto/cart.dto.ts index 14fce1b..e855abd 100644 --- a/src/cart/dto/cart.dto.ts +++ b/src/cart/dto/cart.dto.ts @@ -20,6 +20,7 @@ export class DeleteItemInCartDto { productId: Types.ObjectId @ApiProperty({ example: 'EF20241212' }) + @IsNotEmpty() sku: string customerId?: string