MackHalliday / play-play-express

API with CRUD functionality for favorite tracks and playlists. Uses MusixMatch API
1 stars 0 forks source link

Add validation for POST favorite endpoint #23

Open MackHalliday opened 4 years ago

MackHalliday commented 4 years ago

Fixing bug for user story #4

As a user, when I make a POST request to api/v1/favorites, I should NOT be able to POST favorite that has already been created. A function should valid that the songTitle and artist together are unique.