well that's just embarrassing

This commit is contained in:
wukko
2023-10-08 18:31:04 +06:00
parent bfc453fdc4
commit 6c314a1a62
3 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ export default async function(obj) {
if (!video) return { error: 'ErrorEmptyDownload' };
let best = video.files['mp4-mobile'];
if (video.files.mp4 && (obj.isAudioOnly || obj.quality === "max" || obj.quality >= Number("720"))) {
if (video.files.mp4 && (obj.isAudioOnly || obj.quality === "max" || obj.quality >= 720)) {
best = video.files.mp4;
}