Update plugins/alldownloader.js
Browse files- plugins/alldownloader.js +1 -1
plugins/alldownloader.js
CHANGED
@@ -252,7 +252,7 @@ AllDlRoutes.get('/api/v1/dl/youtube', authenticateApiKey, apiLimiter, async (req
|
|
252 |
}
|
253 |
|
254 |
const results = await youtubedl(url);
|
255 |
-
await downloadMedia(results)
|
256 |
res.json({ results });
|
257 |
} catch (error) {
|
258 |
res.status(500).json({ error: error.message });
|
|
|
252 |
}
|
253 |
|
254 |
const results = await youtubedl(url);
|
255 |
+
await downloadMedia(results);
|
256 |
res.json({ results });
|
257 |
} catch (error) {
|
258 |
res.status(500).json({ error: error.message });
|