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

View file

@ -110,6 +110,7 @@ async function set(request, response) {
authenticate(token, response, set) authenticate(token, response, set)
await db.set(element, data) await db.set(element, data)
var res = await db.get(element)
// var res = JSON.parse(res); // var res = JSON.parse(res);
if(res) { if(res) {
var reply = { var reply = {