Update plugins/alldownloader.js
Browse files- plugins/alldownloader.js +1 -1
plugins/alldownloader.js
CHANGED
@@ -103,7 +103,7 @@ AllDlRoutes.get('/api/v1/custom/endpoint', apiLimiter, async (req, res) => {
|
|
103 |
if (!url && !params && !search) {
|
104 |
return res.status(400).json({ error: "parameter is required." });
|
105 |
}
|
106 |
-
const results = await IzreCustom(
|
107 |
res.json({ message: results });
|
108 |
} catch (error) {
|
109 |
res.status(500).json({ error: error.message });
|
|
|
103 |
if (!url && !params && !search) {
|
104 |
return res.status(400).json({ error: "parameter is required." });
|
105 |
}
|
106 |
+
const results = await IzreCustom(url, params, search);
|
107 |
res.json({ message: results });
|
108 |
} catch (error) {
|
109 |
res.status(500).json({ error: error.message });
|