From b8323683f85501c9e8d9e4a82158401973a0da47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Sat, 3 Feb 2024 18:14:07 +0100 Subject: [PATCH] Remove id --- templates/userActions.html | 5 ----- 1 file changed, 5 deletions(-) diff --git a/templates/userActions.html b/templates/userActions.html index dc2b7e0..93049af 100644 --- a/templates/userActions.html +++ b/templates/userActions.html @@ -16,7 +16,6 @@ } function updateUserProfile() { - const userId = document.getElementById("updateUserIdProfile").value; const firstName = document.getElementById("updateFirstName").value; const lastName = document.getElementById("updateLastName").value; const nickname = document.getElementById("updateNickname").value; @@ -24,7 +23,6 @@ const data = new URLSearchParams(); data.append("action", "update_user_profile"); - data.append("user_id", userId); data.append("first_name", firstName); data.append("last_name", lastName); data.append("nickname", nickname); @@ -100,9 +98,6 @@

Update User Profile

- -
-