Update plugins/alldownloader.js
Browse files- plugins/alldownloader.js +3 -2
plugins/alldownloader.js
CHANGED
@@ -88,8 +88,9 @@ 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 |
-
|
92 |
-
|
|
|
93 |
} catch (error) {
|
94 |
res.status(500).json({ error: error.message });
|
95 |
}
|
|
|
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.log(testings.default);
|
94 |
} catch (error) {
|
95 |
res.status(500).json({ error: error.message });
|
96 |
}
|