This commit is contained in:
Killer Boss Original 2022-07-05 16:15:30 +02:00 committed by GitHub
parent 3743b8fd98
commit 9b734496cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)