This commit is contained in:
Killer Boss Original 2022-07-08 12:38:48 +02:00 committed by GitHub
parent c65ee62257
commit 53da32be4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -82,7 +82,9 @@ async function searchElement(request, response) {
authenticate(token, response, search) authenticate(token, response, search)
var elements = await db.get(word) var elements = await db.get(word)
console.log(elements)
var elements = JSON.parse(elements); var elements = JSON.parse(elements);
console.log(elements)
if(elements) { if(elements) {
var reply = elements var reply = elements