From 4085416c428654ba575ee2ae4999982edbb31968 Mon Sep 17 00:00:00 2001 From: Killer Boss Original <73131550+killerbossoriginal@users.noreply.github.com> Date: Sat, 9 Jul 2022 19:59:57 +0200 Subject: [PATCH] d --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index d8d308b..4a3e660 100644 --- a/index.js +++ b/index.js @@ -103,7 +103,7 @@ async function searchElement(request, response) { // Set a db variable -app.put('/api/:auth/database/:element/set/:data', async (request, response) => { +app.post('/api/:auth/database/:element/set/:data', async (request, response) => { var token = request.params.auth; var element = request.params.element; var data = request.params.data;