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