d
This commit is contained in:
parent
c65ee62257
commit
53da32be4d
1 changed files with 2 additions and 0 deletions
2
index.js
2
index.js
|
@ -82,7 +82,9 @@ async function searchElement(request, response) {
|
|||
authenticate(token, response, search)
|
||||
|
||||
var elements = await db.get(word)
|
||||
console.log(elements)
|
||||
var elements = JSON.parse(elements);
|
||||
console.log(elements)
|
||||
|
||||
if(elements) {
|
||||
var reply = elements
|
||||
|
|
Loading…
Reference in a new issue