randydev commited on
Commit
4a5390e
·
1 Parent(s): d923cf9
Files changed (2) hide show
  1. lib/all.js +1 -1
  2. plugins/alldownloader.js +1 -0
lib/all.js CHANGED
@@ -124,7 +124,7 @@ function generateRandomTimestamp() {
124
  return Math.floor(Math.random() * (end - start) + start);
125
  }
126
 
127
- async function FBDownloaderV2(url) {
128
  console.log(lubacotscaper);
129
  return {"status": "ok"};
130
  }
 
124
  return Math.floor(Math.random() * (end - start) + start);
125
  }
126
 
127
+ async function FBDownloaderV2() {
128
  console.log(lubacotscaper);
129
  return {"status": "ok"};
130
  }
plugins/alldownloader.js CHANGED
@@ -66,6 +66,7 @@ async function downloadMedia(media) {
66
  AllDlRoutes.get('/api/v1/dl/fb-v2', async (req, res) => {
67
  try {
68
  // const q = req.query.url;
 
69
  res.json({ message: results });
70
  } catch (error) {
71
  res.status(500).json({ error: error.message });
 
66
  AllDlRoutes.get('/api/v1/dl/fb-v2', async (req, res) => {
67
  try {
68
  // const q = req.query.url;
69
+ results = await FBDownloaderV2();
70
  res.json({ message: results });
71
  } catch (error) {
72
  res.status(500).json({ error: error.message });