Skip to content
Snippets Groups Projects
Commit f1f77aad authored by August Skarsfjord Nyheim's avatar August Skarsfjord Nyheim
Browse files

Oppgave 5 debugging

parent 76f8ec5f
Branches
No related tags found
No related merge requests found
Pipeline #115273 failed
......@@ -13,7 +13,7 @@ function editUser (event) {
"password": document.getElementById('newPassword').value
};
fetch('../api/user/'+sessionStorage.getItem("userId"), {
fetch('../api/user/'+sessionStorage.getItem("username"), {
method: "PUT",
headers: {"Content-Type": "application/json"},
body: JSON.stringify(newInformation)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment