d
This commit is contained in:
parent
53da32be4d
commit
517d0173c8
1 changed files with 1 additions and 0 deletions
1
index.js
1
index.js
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue