From 805621cb401afa1d48cbe7e2504e98e688345745 Mon Sep 17 00:00:00 2001 From: Killer Boss Original <73131550+killerbossoriginal@users.noreply.github.com> Date: Tue, 5 Jul 2022 16:28:42 +0200 Subject: [PATCH] t --- index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 66e0c2c..183cabc 100644 --- a/index.js +++ b/index.js @@ -82,7 +82,7 @@ async function searchElement(request, response) { authenticate(token, response, search) var elements = await db.get(word) - var elements = JSON.parse(elements); +// var elements = JSON.parse(elements); if(elements) { var reply = elements @@ -109,7 +109,7 @@ async function set(request, response) { await db.set(element, data) var res = await db.get(element) - var res = JSON.parse(res); +// var res = JSON.parse(res); if(res) { var reply = res; } else { @@ -135,7 +135,7 @@ async function remove(request, response) { await db.set(element, data) var res = await db.delete(element) - var res = JSON.parse(res); +// var res = JSON.parse(res); if(res) { var reply = res } else {