Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
th0rn0 committed May 3, 2024
1 parent 04c8580 commit 936e447
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions api/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ import (
func getNextSong() (Track, error) {
var nextTrack Track
var err error
if voteToSkipEnabled {
nextTrack, err = getNextSongRandom()
} else {
nextTrack, err = getNextSongByVotes()
}
// if voteToSkipEnabled {
// nextTrack, err = getNextSongRandom()
// } else {
nextTrack, err = getNextSongByVotes()
// }
if err != nil {
// Assume no record - get from fallback playlist
nextTrack = assignFallback(nextTrack)
Expand Down

0 comments on commit 936e447

Please sign in to comment.