Update plugins/antiban.js
Browse files- plugins/antiban.js +1 -1
plugins/antiban.js
CHANGED
@@ -250,7 +250,7 @@ AntibanRoutes.get("/api/v1/user/story-dl", authenticateApiKey, apiLimiter, async
|
|
250 |
res.json({ message: "Download started", job_id });
|
251 |
});
|
252 |
|
253 |
-
AntibanRoutes.get("/api/v1/user/story
|
254 |
const job = await Job.findOne({ job_id: req.query.job_id });
|
255 |
|
256 |
if (!job) return res.status(404).json({ error: "Job not found" });
|
|
|
250 |
res.json({ message: "Download started", job_id });
|
251 |
});
|
252 |
|
253 |
+
AntibanRoutes.get("/api/v1/user/story/task", authenticateApiKey, apiLimiter, async (req, res) => {
|
254 |
const job = await Job.findOne({ job_id: req.query.job_id });
|
255 |
|
256 |
if (!job) return res.status(404).json({ error: "Job not found" });
|