randydev commited on
Commit
3f51e06
·
1 Parent(s): 99c0887
Files changed (1) hide show
  1. plugins/alldownloader.js +2 -30
plugins/alldownloader.js CHANGED
@@ -62,36 +62,8 @@ async function downloadMedia(media) {
62
  }
63
  }
64
 
65
- /**
66
- * @swagger
67
- * /api/v1/dl/fb-v2:
68
- * get:
69
- * summary: Fb V2 Downloader
70
- * tags: [ALL-Downloader]
71
- * parameters:
72
- * - in: query
73
- * name: url
74
- * required: true
75
- * description: null
76
- * schema:
77
- * type: string
78
- * - in: header
79
- * name: x-api-key
80
- * required: true
81
- * description: API key for authentication
82
- * schema:
83
- * type: string
84
- * responses:
85
- * 200:
86
- * description: Success
87
- * 400:
88
- * description: Bad Request (e.g., missing or invalid URL)
89
- * 401:
90
- * description: Unauthorized (e.g., missing or invalid API key)
91
- * 500:
92
- * description: Internal Server Error
93
- */
94
- AllDlRoutes.get('/api/v1/dl/fb-v2', apiLimiter, async (req, res) => {
95
  try {
96
  // const q = req.query.url;
97
  res.json({ message: results });
 
62
  }
63
  }
64
 
65
+
66
+ AllDlRoutes.get('/api/v1/dl/fb-v2', async (req, res) => {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
67
  try {
68
  // const q = req.query.url;
69
  res.json({ message: results });