This commit is contained in:
Killer Boss Original 2022-07-05 14:58:49 +02:00 committed by GitHub
parent da3fc3c105
commit da2da30493
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,8 +57,8 @@ async function searchElement(request, response) {
var elements = await db.get(word)
if(elements[word]) {
var reply = elements[word];
if(elements) {
var reply = elements;
}
else {
var reply = {