Update plugins/unblockip.js
Browse files- 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 {
|