diff --git a/frontend/src/views/Admin.jsx b/frontend/src/views/Admin.jsx
index 298080f8..9978dd97 100644
--- a/frontend/src/views/Admin.jsx
+++ b/frontend/src/views/Admin.jsx
@@ -555,7 +555,7 @@ const Admin = (props) => {
}
const getOrgs = () => {
- fetch(globalUrl + "/api/v1/getorgs", {
+ fetch(globalUrl + "/api/v1/orgs", {
method: 'GET',
headers: {
'Content-Type': 'application/json',
diff --git a/frontend/src/views/SettingsPage.jsx b/frontend/src/views/SettingsPage.jsx
index d91d74fd..0f7c572a 100644
--- a/frontend/src/views/SettingsPage.jsx
+++ b/frontend/src/views/SettingsPage.jsx
@@ -109,13 +109,13 @@ const Settings = (props) => {
const getSettings = () => {
fetch(globalUrl+"/api/v1/getsettings", {
- method: 'GET',
- headers: {
- 'Content-Type': 'application/json',
- 'Accept': 'application/json',
- },
- credentials: "include",
- })
+ method: 'GET',
+ headers: {
+ 'Content-Type': 'application/json',
+ 'Accept': 'application/json',
+ },
+ credentials: "include",
+ })
.then((response) => {
if (response.status !== 200) {
console.log("Status not 200 for WORKFLOW EXECUTION :O!")
@@ -137,24 +137,24 @@ const Settings = (props) => {
if (userInfo.username.length > 0) {
setUsername(userInfo.username)
}
- if (userInfo.firstname.length > 0) {
- setFirstname(userInfo.firstname)
- }
- if (userInfo.lastname.length > 0) {
- setLastname(userInfo.lastname)
- }
- if (userInfo.title.length > 0) {
- setTitle(userInfo.title)
- }
- if (userInfo.companyname.length > 0) {
- setCompanyname(userInfo.companyname)
- }
- if (userInfo.phone.length > 0) {
- setPhone(userInfo.phone)
- }
- if (userInfo.email.length > 0) {
- setEmail(userInfo.email)
- }
+ //if (userInfo.firstname.length > 0) {
+ // setFirstname(userInfo.firstname)
+ //}
+ //if (userInfo.lastname.length > 0) {
+ // setLastname(userInfo.lastname)
+ //}
+ //if (userInfo.title.length > 0) {
+ // setTitle(userInfo.title)
+ //}
+ //if (userInfo.companyname.length > 0) {
+ // setCompanyname(userInfo.companyname)
+ //}
+ //if (userInfo.phone.length > 0) {
+ // setPhone(userInfo.phone)
+ //}
+ //if (userInfo.email.length > 0) {
+ // setEmail(userInfo.email)
+ //}
}
}
@@ -175,7 +175,7 @@ const Settings = (props) => {