randydev commited on
Commit
2874b80
·
verified ·
1 Parent(s): 9403d88

Update plugins/unblockip.js

Browse files
Files changed (1) hide show
  1. plugins/unblockip.js +1 -1
plugins/unblockip.js CHANGED
@@ -6,7 +6,7 @@ UnblockIpRoutes.get('/api/v1/unblock-ip', async (req, res) => {
6
  const dbClient = new Database("AkenoXJs", "FastJsAPI");
7
  try {
8
  const ip = req.query.ip;
9
- results = await dbClient.UnblockedIp(ip);
10
  if (results) {
11
  res.json({ message: "successfully ip unbanned"});
12
  } else {
 
6
  const dbClient = new Database("AkenoXJs", "FastJsAPI");
7
  try {
8
  const ip = req.query.ip;
9
+ const results = await dbClient.UnblockedIp(ip);
10
  if (results) {
11
  res.json({ message: "successfully ip unbanned"});
12
  } else {