From 7bab6cd29a1163bbd27d5c80c6e9049bb362781e Mon Sep 17 00:00:00 2001 From: Valentin CZERYBA Date: Thu, 26 Oct 2023 00:07:36 +0200 Subject: [PATCH] remove/disable user --- web/js/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/js/user.js b/web/js/user.js index 3a63a0b..6a86aa9 100644 --- a/web/js/user.js +++ b/web/js/user.js @@ -68,7 +68,7 @@ if(id.length > 0){ break; case "removeUserButton": httpMethod = "delete"; - httpUrl = "users/"+idInput; + httpUrl = "users/"+idInput+"?remove=true"; break; default: httpMethod = "patch";