From 9b734496cb441cd612a41ad3fee8bdd030034b6b Mon Sep 17 00:00:00 2001 From: Killer Boss Original <73131550+killerbossoriginal@users.noreply.github.com> Date: Tue, 5 Jul 2022 16:15:30 +0200 Subject: [PATCH] . --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index c3c1d07..08b134d 100644 --- a/index.js +++ b/index.js @@ -130,7 +130,7 @@ async function remove(request, response) { var data = request.params.data; set = 'remove '+element - authenticate(token, set) + authenticate(token, response, set) await db.set(element, response, data) const res = await db.delete(element)