Update plugins/alldownloader.js
Browse files- plugins/alldownloader.js +1 -1
plugins/alldownloader.js
CHANGED
@@ -79,7 +79,7 @@ AllDlRoutes.get('/api/v1/dl/tiktok', authenticateApiKey, apiLimiter, async (req,
|
|
79 |
*/
|
80 |
AllDlRoutes.get('/api/v1/dl/fb', authenticateApiKey, apiLimiter, async (req, res) => {
|
81 |
try {
|
82 |
-
const
|
83 |
|
84 |
if (!url) {
|
85 |
return res.status(400).json({ error: "url parameter is required." });
|
|
|
79 |
*/
|
80 |
AllDlRoutes.get('/api/v1/dl/fb', authenticateApiKey, apiLimiter, async (req, res) => {
|
81 |
try {
|
82 |
+
const url = req.query.url;
|
83 |
|
84 |
if (!url) {
|
85 |
return res.status(400).json({ error: "url parameter is required." });
|