This commit is contained in:
Deluan 2021-10-26 10:57:59 -04:00 committed by Joe Stump
parent 9ca4fb538b
commit a0914f565f
No known key found for this signature in database
GPG Key ID: 29151C3EC48A0EB9

View File

@ -189,7 +189,6 @@ func scanLines(data []byte, atEOF bool) (advance int, token []byte, err error) {
func (s *playlists) Update(ctx context.Context, playlistId string,
name *string, comment *string, public *bool,
idsToAdd []string, idxToRemove []int) error {
needsInfoUpdate := name != nil || comment != nil || public != nil
needsTrackRefresh := len(idxToRemove) > 0