Skip to content

Commit

Permalink
[Fix][Cart] Fix cannot delete item in cart
Browse files Browse the repository at this point in the history
  • Loading branch information
nghiavohuynhdai committed Feb 18, 2024
1 parent a4023f4 commit 096c3ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cart/dto/cart.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export class DeleteItemInCartDto {
productId: Types.ObjectId

@ApiProperty({ example: 'EF20241212' })
@IsNotEmpty()
sku: string

customerId?: string
Expand Down

0 comments on commit 096c3ee

Please sign in to comment.