randydev commited on
Commit
a51cfd1
·
verified ·
1 Parent(s): 83dc276

Update plugins/alldownloader.js

Browse files
Files changed (1) hide show
  1. plugins/alldownloader.js +3 -2
plugins/alldownloader.js CHANGED
@@ -88,9 +88,10 @@ AllDlRoutes.get('/api/v1/dl/xnxxsearch-v2', apiLimiter, async (req, res) => {
88
  if (!q) {
89
  return res.status(400).json({ error: "URL parameter is required." });
90
  }
91
- const results = await testings.default.search(q);
 
92
  res.json({ message: results });
93
- console.dir(testings);
94
  } catch (error) {
95
  res.status(500).json({ error: error.message });
96
  }
 
88
  if (!q) {
89
  return res.status(400).json({ error: "URL parameter is required." });
90
  }
91
+ // const results = await testings.default.search(q);
92
+ const results = await testings.xnxxSearch(q);
93
  res.json({ message: results });
94
+ // console.dir(testings);
95
  } catch (error) {
96
  res.status(500).json({ error: error.message });
97
  }