Update index.js
Browse files
index.js
CHANGED
@@ -587,7 +587,7 @@ app.post("/api/v1/key/ban-and-delete", authenticateApiKey, apiLimiter, async (re
|
|
587 |
}
|
588 |
});
|
589 |
|
590 |
-
app.post('/api/v1/key/generate-key',
|
591 |
const dbClient = new Database("AkenoXJs");
|
592 |
const bannedCollection = dbClient.collection("banned_users");
|
593 |
const collection = dbClient.collection('api_keys');
|
|
|
587 |
}
|
588 |
});
|
589 |
|
590 |
+
app.post('/api/v1/key/generate-key', authenticateApiKey, apiLimiter, async (req, res) => {
|
591 |
const dbClient = new Database("AkenoXJs");
|
592 |
const bannedCollection = dbClient.collection("banned_users");
|
593 |
const collection = dbClient.collection('api_keys');
|