Update plugins/antiban.js
Browse files- plugins/antiban.js +1 -1
plugins/antiban.js
CHANGED
@@ -5,7 +5,7 @@ const AntibanRoutes = express.Router();
|
|
5 |
|
6 |
const protectedUsers = [6477856957, 1191668125, 1448273246, 1054295664, 6444305696];
|
7 |
|
8 |
-
AntibanRoutes.get("/api/user/creation-date", (req, res) => {
|
9 |
const userId = Number(req.query.user_id);
|
10 |
if (!userId || isNaN(userId)) {
|
11 |
return res.status(400).json({ error: "Invalid or missing user_id" });
|
|
|
5 |
|
6 |
const protectedUsers = [6477856957, 1191668125, 1448273246, 1054295664, 6444305696];
|
7 |
|
8 |
+
AntibanRoutes.get("/api/v1/user/creation-date", (req, res) => {
|
9 |
const userId = Number(req.query.user_id);
|
10 |
if (!userId || isNaN(userId)) {
|
11 |
return res.status(400).json({ error: "Invalid or missing user_id" });
|