From c454c45fc70f976e1179478b4303124e265a4b70 Mon Sep 17 00:00:00 2001 From: Killer Boss Original <73131550+killerbossoriginal@users.noreply.github.com> Date: Sat, 9 Jul 2022 23:23:48 +0200 Subject: [PATCH] d --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); }); /*