This commit is contained in:
RochesterX
2025-11-17 19:06:17 -05:00
parent 310bbc9679
commit 908129e38f
4 changed files with 5 additions and 5 deletions

View File

@@ -6,7 +6,7 @@ const token = window.localStorage.getItem("token");
const infoForm = document.getElementById("infoForm");
async function fetchPersonalInformation() {
const userData = await postData("https://134.209.36.64:3000/getInfo", {}, token);
const userData = await postData("https://project.rochesterx.dev/getInfo", {}, token);
console.log(userData);
@@ -29,7 +29,7 @@ async function updatePersonalInformation(e) {
dob: document.getElementById("dobField").value
}
console.log(userData.dob);
const resultObject = await postData("https://134.209.36.64:3000/setInfo", userData, token);
const resultObject = await postData("https://project.rochesterx.dev/setInfo", userData, token);
alert(resultObject.message);
}