mirror of
https://codeberg.org/lucida/lucida.git
synced 2026-11-16 16:47:31 -05:00
fix eslint error
This commit is contained in:
@@ -340,7 +340,7 @@ async function getStream(
|
|||||||
if (filter.length == 0) throw new Error('Could not find applicable format.') // and this is just in case none of those exist
|
if (filter.length == 0) throw new Error('Could not find applicable format.') // and this is just in case none of those exist
|
||||||
const transcoding = filter[0]
|
const transcoding = filter[0]
|
||||||
|
|
||||||
let streamUrl = new URL(transcoding.url)
|
const streamUrl = new URL(transcoding.url)
|
||||||
if (client?.id) streamUrl.searchParams.append('client_id', client?.id)
|
if (client?.id) streamUrl.searchParams.append('client_id', client?.id)
|
||||||
streamUrl.searchParams.append('track_authorization', trackAuth)
|
streamUrl.searchParams.append('track_authorization', trackAuth)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user