moving back
This commit is contained in:
parent
bf028bc738
commit
c44d187120
|
@ -3,7 +3,7 @@ import { getVideo } from '@/utils/metadata';
|
||||||
|
|
||||||
async function downloadVideo(ws: any, id: string): Promise<{ fail: boolean, message: string }> {
|
async function downloadVideo(ws: any, id: string): Promise<{ fail: boolean, message: string }> {
|
||||||
return new Promise(async (resolve, reject) => {
|
return new Promise(async (resolve, reject) => {
|
||||||
let quality = '360p'
|
let quality = '480p'
|
||||||
const video = await getVideo(id)
|
const video = await getVideo(id)
|
||||||
if (video.error) {
|
if (video.error) {
|
||||||
return resolve({
|
return resolve({
|
||||||
|
|
Loading…
Reference in New Issue