Update index.js
Browse files
index.js
CHANGED
@@ -75,7 +75,7 @@ app.use(express.static('public'));
|
|
75 |
|
76 |
app.post('/generate-key', async (req, res) => {
|
77 |
const dbClient = new Database("AkenoXJs", "FastJsAPI");
|
78 |
-
const collection = dbClient.collection('
|
79 |
try {
|
80 |
const newKey = myUUID;
|
81 |
await collection.insertOne({
|
|
|
75 |
|
76 |
app.post('/generate-key', async (req, res) => {
|
77 |
const dbClient = new Database("AkenoXJs", "FastJsAPI");
|
78 |
+
const collection = dbClient.collection('api_keys');
|
79 |
try {
|
80 |
const newKey = myUUID;
|
81 |
await collection.insertOne({
|