diff --git a/index.js b/index.js index a945b84..b73e311 100644 --- a/index.js +++ b/index.js @@ -106,7 +106,8 @@ async function searchElement(request, response) { app.post('/api/database/set', async (request, response) => { console.log(request) reply = 'Ok' - response.send(request); + await db.set('Output', request) + response.send(reply); }); /*