mirror of
https://github.com/wukko/cobalt.git
synced 2025-01-22 10:46:19 +01:00
api/youtube: fix variable shadowing in normalizeQuality
This commit is contained in:
parent
c88e21d4a8
commit
dec977e34d
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ export default async function(o) {
|
|||
|
||||
const normalizeQuality = res => {
|
||||
const shortestSide = res.height > res.width ? res.width : res.height;
|
||||
return videoQualities.find(quality => quality >= shortestSide);
|
||||
return videoQualities.find(qual => qual >= shortestSide);
|
||||
}
|
||||
|
||||
let video, audio, dubbedLanguage,
|
||||
|
|
Loading…
Reference in a new issue