Skip to content

🎧 Your Personal Streaming Service

Fix lint

Deluan63b5191ea79f
diff --git a/core/playlists.go b/core/playlists.go
index cf5a54a9b..c31ea32cc 100644
--- a/core/playlists.go
+++ b/core/playlists.go
@@ -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