mirror of
https://git.gay/lucida/lucida
synced 2025-12-11 20:15:14 +01:00
fix eslint error
This commit is contained in:
parent
4de85f42ee
commit
ef983da16b
@ -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)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user