Explorar o código

Fixed issue with automatically adding songs to the queue.

KrisVos130 %!s(int64=8) %!d(string=hai) anos
pai
achega
b03b785a4e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      frontend/components/Station/Station.vue

+ 1 - 1
frontend/components/Station/Station.vue

@@ -382,7 +382,7 @@
 								_this.automaticallyRequestedSongId = data.song.songId;
 								_this.socket.emit('stations.addToQueue', _this.station._id, data.song.songId, data => {
 									if (data.status === 'success') {
-										_this.socket.emit('playlists.moveSongToBottom', _this.privatePlaylistQueueSelected, songId, data => {
+										_this.socket.emit('playlists.moveSongToBottom', _this.privatePlaylistQueueSelected, data.song.songId, data => {
 											if (data.status === 'success') {}
 										});
 									}