new appeals change involvment to appellant

This commit is contained in:
2024-11-29 13:11:26 +00:00
parent 202aa3cdb6
commit 0f8fc932e7
3 changed files with 43 additions and 10 deletions
+6 -2
View File
@@ -1081,8 +1081,11 @@ export const updatePassword = (contactId, newpassword) => {
});
};
export const updateAccount = async (contactId, updateBody) => {
var queryUrl = "/api/endpoint/updateaccount_api?contactId=" + contactId;
export const updateAccount = async (contactId, updateBody, ssr) => {
var queryUrl =
(ssr ? BASE_URL : "") +
"/api/endpoint/updateaccount_api?contactId=" +
contactId;
var data = updateBody;
var config = {
method: "post",
@@ -1095,6 +1098,7 @@ export const updateAccount = async (contactId, updateBody) => {
})
.catch((error) => {
//console.log("this error:", error);
consoleLogger(error);
});
};