replaced var with let lol
This commit is contained in:
parent
7ef0ceb941
commit
8364e19f50
File diff suppressed because one or more lines are too long
2
index.js
2
index.js
|
@ -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" } })
|
||||
}
|
||||
|
||||
var list = '#EXTM3U\n'
|
||||
let list = '#EXTM3U\n'
|
||||
|
||||
for (const track of json.tracks.data) {
|
||||
if (track.id < 0) { // user-uploaded track
|
||||
|
|
Loading…
Reference in New Issue