Skip to content

Commit

Permalink
update: old method
Browse files Browse the repository at this point in the history
  • Loading branch information
1intan99 authored and ThePedroo committed Jan 15, 2024
1 parent 0b19504 commit 427a1c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/events/track/trackEnds.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ function trackEnds(Event, payload, node, config, Nodes, Players) {

utils.makeNodeRequest(Nodes, node, `/v4/sessions/${Nodes[node].sessionId}/players/${payload.guildId}`, {
body: {
encodedTrack: player.queue[0]
track: {
encoded: player.queue[0]
}
},
method: 'PATCH'
})
Expand Down

0 comments on commit 427a1c4

Please sign in to comment.