randydev commited on
Commit
e3c8857
·
verified ·
1 Parent(s): bc6d89a

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -11
index.js CHANGED
@@ -132,17 +132,7 @@ app.get("/api/v1/json/all", async (req, res) => {
132
  res.json(AllJsonReques);
133
  });
134
 
135
- app.get('/testdb', (req, res) => {
136
- const dbClient = new Database("AkenoXJs");
137
- const collection = dbClient.collection("api_keys");
138
- await collection.find({}).toArray(function (err, result) {
139
- if (err) {
140
- res.send(err);
141
- } else {
142
- res.send(JSON.stringify(result));
143
- }
144
- })
145
- });
146
 
147
  app.post('/webhook', (req, res) => {
148
  console.log('Received webhook:', req.body);
 
132
  res.json(AllJsonReques);
133
  });
134
 
135
+
 
 
 
 
 
 
 
 
 
 
136
 
137
  app.post('/webhook', (req, res) => {
138
  console.log('Received webhook:', req.body);