Closed dhwaj1902 closed 3 years ago
Describe the bug Right now we are able to add the same course multiple times in the wishlist array of the same user.
To Reproduce We can resolve this by adding a condition whether currseId exists in that user wishlist array if yes we can give an exception.
@Abhishek-kumar09 Please assign this issue to me if this is a valid issue.
Sure @dhwaj1902 Go ahead. This issue still persist right.
Describe the bug Right now we are able to add the same course multiple times in the wishlist array of the same user.
To Reproduce We can resolve this by adding a condition whether currseId exists in that user wishlist array if yes we can give an exception.