codeforcauseorg / edu-server

MIT License
42 stars 52 forks source link

Add Same Course in Wishlist array #96

Closed dhwaj1902 closed 3 years ago

dhwaj1902 commented 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.

dhwaj1902 commented 3 years ago

@Abhishek-kumar09 Please assign this issue to me if this is a valid issue.

Abhishek-kumar09 commented 3 years ago

Sure @dhwaj1902 Go ahead. This issue still persist right.