diff --git a/index.js b/index.js index 771b717..183cabc 100644 --- a/index.js +++ b/index.js @@ -60,19 +60,6 @@ async function authenticate(token, response, what) { } } -/* -app.post('/', (req, res) => { - res.send('Got a POST request') -}) -*/ - -app.post('/api/:auth/database', (req, res) => { - var token = request.params.auth; - authenticate(token, response, 'alldata') - res.send('elements') -}) - -/* // All dates in the database app.get('/api/:auth/database', alldata); @@ -158,5 +145,4 @@ async function remove(request, response) { } response.send(reply); -} -*/ \ No newline at end of file +} \ No newline at end of file