|
|
@@ -266,7 +266,7 @@ func routeFetchPrevSong(l *logger.Logger, rdb redis.Cmdable, w http.ResponseWrit
|
|
|
}
|
|
|
|
|
|
func routeFetchShuffledSong(l *logger.Logger, rdb redis.Cmdable, w http.ResponseWriter, r *http.Request) error {
|
|
|
- idRaw := r.URL.Query().Get("current-song-id")
|
|
|
+ idRaw := r.URL.Query().Get("id")
|
|
|
id, err := strconv.Atoi(idRaw)
|
|
|
db := database.GetConnection()
|
|
|
|