Skip to content

Commit

Permalink
Merge pull request #79 from ufosc/feature/interactivity
Browse files Browse the repository at this point in the history
fix track queue undefined issue
  • Loading branch information
IkeHunter authored Jan 2, 2025
2 parents e4857dc + 78eb79a commit 1843cff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jukebox/track-queue/track-queue.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export class TrackQueueService {
if (queued && queued.length === 0) {
const playerState = await this.getPlayerState(jukeboxId)

queued = playerState.default_next_tracks.map((track) => ({
queued = playerState?.default_next_tracks.map((track) => ({
...track,
queue_id: randomUUID(),
}))
Expand Down

0 comments on commit 1843cff

Please sign in to comment.