replaced var with let lol

This commit is contained in:
uh wot 2021-08-14 01:18:05 +02:00
parent 7ef0ceb941
commit 8364e19f50
Signed by: uhwot
GPG Key ID: CB2454984587B781
2 changed files with 2 additions and 2 deletions

2
dist/worker.js vendored

File diff suppressed because one or more lines are too long

View File

@ -222,7 +222,7 @@ async function m3u8(type, id, format, access_token, tagging, host) {
return new Response(JSON.stringify(json.error), { status: 403, headers: { 'content-type': "application/json" } }) return new Response(JSON.stringify(json.error), { status: 403, headers: { 'content-type': "application/json" } })
} }
var list = '#EXTM3U\n' let list = '#EXTM3U\n'
for (const track of json.tracks.data) { for (const track of json.tracks.data) {
if (track.id < 0) { // user-uploaded track if (track.id < 0) { // user-uploaded track