fix wrong manifest mimetype check lol

This commit is contained in:
uh wot 2023-11-04 04:07:10 +01:00
parent e11199165b
commit a3735ab79c
Signed by: uhwot
GPG Key ID: CB2454984587B781
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ async function playbackinfopostpaywall(env, type, id, q) {
return error(403, 'Couldn\'t get manifest')
}
if (!('application/vnd.tidal.bts', 'application/vnd.tidal.emu').includes(res.json.manifestMimeType)) {
if (!['application/vnd.tidal.bts', 'application/vnd.tidal.emu'].includes(res.json.manifestMimeType)) {
return error(500, 'Invalid manifest mime type')
}