app/scripts/services/playlistServices.js
Function addItemsToPlaylist
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.addItemsToPlaylist = function (playlistId, itemIds) {
var playlist = self.findPlaylistById(playlistId);
var playlistItemsSize = 0;