randydev commited on
Commit
dffe7d6
·
verified ·
1 Parent(s): 8699696

Update plugins/antiban.js

Browse files
Files changed (1) hide show
  1. plugins/antiban.js +1 -1
plugins/antiban.js CHANGED
@@ -3,7 +3,7 @@ import { Database } from '../database/database.js';
3
  import { authenticateApiKey, apiLimiter } from '../middleware/midware.js';
4
  const AntibanRoutes = express.Router();
5
 
6
- AntibanRoutes.get("/api/v1/ai/ban-user", authenticateApiKey, apiLimiter, async (req, res) => {
7
  const dbClient = new Database("AkenoXJs");
8
  const collection = dbClient.collection("ban_users");
9
  try {
 
3
  import { authenticateApiKey, apiLimiter } from '../middleware/midware.js';
4
  const AntibanRoutes = express.Router();
5
 
6
+ AntibanRoutes.get("/api/v1/user/ban-user", authenticateApiKey, apiLimiter, async (req, res) => {
7
  const dbClient = new Database("AkenoXJs");
8
  const collection = dbClient.collection("ban_users");
9
  try {