.
This commit is contained in:
parent
3743b8fd98
commit
9b734496cb
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -130,7 +130,7 @@ async function remove(request, response) {
|
||||||
var data = request.params.data;
|
var data = request.params.data;
|
||||||
|
|
||||||
set = 'remove '+element
|
set = 'remove '+element
|
||||||
authenticate(token, set)
|
authenticate(token, response, set)
|
||||||
|
|
||||||
await db.set(element, response, data)
|
await db.set(element, response, data)
|
||||||
const res = await db.delete(element)
|
const res = await db.delete(element)
|
||||||
|
|
Loading…
Reference in a new issue