As a user when I send a delete request to /api/v1/playlists/:playlist_id/favorites/:id
The favorite with :id is removed from the playlist with :playlist_id
This deletes the existing record in the Playlist Favorites table that creates the relationship between this song favorite and playlist. If the playlist/favorite cannot be found, a 404 will be returned.
If successful, this request will return:
{
"message": "Successfully removed SONG_NAME from PLAYLIST_NAME"
}
As a user when I send a delete request to /api/v1/playlists/:playlist_id/favorites/:id
The favorite with :id is removed from the playlist with :playlist_id
This deletes the existing record in the Playlist Favorites table that creates the relationship between this song favorite and playlist. If the playlist/favorite cannot be found, a 404 will be returned.
If successful, this request will return:
{ "message": "Successfully removed SONG_NAME from PLAYLIST_NAME" }