From ef983da16b272c8623ea0543960f118f17bb637c Mon Sep 17 00:00:00 2001 From: uh wot Date: Thu, 5 Sep 2024 01:08:21 +0200 Subject: [PATCH] fix eslint error --- src/streamers/soundcloud/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/streamers/soundcloud/main.ts b/src/streamers/soundcloud/main.ts index 7fdf7f4..70d8d29 100644 --- a/src/streamers/soundcloud/main.ts +++ b/src/streamers/soundcloud/main.ts @@ -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 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) streamUrl.searchParams.append('track_authorization', trackAuth)