randydev commited on
Commit
38d3304
·
verified ·
1 Parent(s): 84e762c

Update plugins/antiban.js

Browse files
Files changed (1) hide show
  1. 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/:job_id", 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" });
 
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" });