diff --git a/public/index.html b/public/index.html
index 996c1c2..fff565b 100644
--- a/public/index.html
+++ b/public/index.html
@@ -47,11 +47,7 @@
-<<<<<<< HEAD
-
-=======
->>>>>>> 1c0592d (commit new code)
CloudNSure
diff --git a/src/APIServices/AddReportSQLBuilderAPI.js b/src/APIServices/AddReportSQLBuilderAPI.js
index 07ccf82..4ec6089 100644
--- a/src/APIServices/AddReportSQLBuilderAPI.js
+++ b/src/APIServices/AddReportSQLBuilderAPI.js
@@ -2,11 +2,7 @@
import apiService from '../APIRequestService/APIService';
-<<<<<<< HEAD
-const BASE_URL = `${process.env.REACT_APP_API_URL}/Rpt_builder2/Rpt_builder2`;
-=======
const BASE_URL = `${process.env.REACT_APP_API_URL}Rpt_builder2/Rpt_builder2`;
->>>>>>> 1c0592d (commit new code)
export const addSQLReport = async (formData) => {
diff --git a/src/APIServices/DeleteReportSQLAPI.js b/src/APIServices/DeleteReportSQLAPI.js
index f199201..a464127 100644
--- a/src/APIServices/DeleteReportSQLAPI.js
+++ b/src/APIServices/DeleteReportSQLAPI.js
@@ -5,11 +5,7 @@ export const deleteReportSQL = async (id) => {
if (!id) {
throw new Error("ID is required for deletion.");
}
-<<<<<<< HEAD
- const BASE_URL = `${process.env.REACT_APP_API_URL}/Rpt_builder2/Rpt_builder2/${id}`;
-=======
const BASE_URL = `${process.env.REACT_APP_API_URL}Rpt_builder2/Rpt_builder2/${id}`;
->>>>>>> 1c0592d (commit new code)
try {
const response = await apiService.delete(BASE_URL);
console.log("Delete response:", response.data);
diff --git a/src/APIServices/ReportSQLBuilderAPI.js b/src/APIServices/ReportSQLBuilderAPI.js
index fccf133..97d8be7 100644
--- a/src/APIServices/ReportSQLBuilderAPI.js
+++ b/src/APIServices/ReportSQLBuilderAPI.js
@@ -4,11 +4,7 @@ import apiService from '../APIRequestService/APIService';// Assuming apiService
-<<<<<<< HEAD
-const BASE_URL = `${process.env.REACT_APP_API_URL}/Rpt_builder2/Rpt_builder2`;
-=======
const BASE_URL = `${process.env.REACT_APP_API_URL}Rpt_builder2/Rpt_builder2`;
->>>>>>> 1c0592d (commit new code)
const ReportSqlBuilderApi = {
fetchUserDetails: async () => {
diff --git a/src/APIServices/UpdateReportSQLBuilderAPI.js b/src/APIServices/UpdateReportSQLBuilderAPI.js
index 94f24a9..e2ede8e 100644
--- a/src/APIServices/UpdateReportSQLBuilderAPI.js
+++ b/src/APIServices/UpdateReportSQLBuilderAPI.js
@@ -4,11 +4,7 @@ import apiService from '../APIRequestService/APIService';
export const UpdateReportSQLBuilder = async (id,formData) => {
-<<<<<<< HEAD
- const BASE_URL = `${process.env.REACT_APP_API_URL}/Rpt_builder2/Rpt_builder2/${id}`;
-=======
const BASE_URL = `${process.env.REACT_APP_API_URL}Rpt_builder2/Rpt_builder2/${id}`;
->>>>>>> 1c0592d (commit new code)
try {
const response = await apiService.put(BASE_URL, formData);
console.log("update response: ",response.data);
diff --git a/src/assets/css/argon-dashboard-react.css b/src/assets/css/argon-dashboard-react.css
index 68c03ec..0708113 100644
--- a/src/assets/css/argon-dashboard-react.css
+++ b/src/assets/css/argon-dashboard-react.css
@@ -4064,11 +4064,7 @@ input[type="button"].btn-block {
~ .custom-control-label::before {
border-color: #5e72e4;
background-color: #5e72e4;
-<<<<<<< HEAD
- box-shadow: ;
-=======
box-shadow: 29;
->>>>>>> 1c0592d (commit new code)
}
.custom-checkbox
diff --git a/src/components/BuilderComponants/.DS_Store b/src/components/BuilderComponants/.DS_Store
deleted file mode 100644
index 5008ddf..0000000
Binary files a/src/components/BuilderComponants/.DS_Store and /dev/null differ
diff --git a/src/components/Dashboard/APIRegistry.js b/src/components/Dashboard/APIRegistry.js
index 3a5b331..16e6fbe 100644
--- a/src/components/Dashboard/APIRegistry.js
+++ b/src/components/Dashboard/APIRegistry.js
@@ -65,11 +65,7 @@ function APIRegistry() {
}, []);
const fetchApiEntries = async () => {
-<<<<<<< HEAD
- const apiUrl = `${process.env.REACT_APP_API_URL}/Api_registery_header/Api_registery_header`;
-=======
const apiUrl = `${process.env.REACT_APP_API_URL}Api_registery_header/Api_registery_header`;
->>>>>>> 1c0592d (commit new code)
const token = localStorage.getItem("authToken");
if (!token) {
diff --git a/src/components/Dashboard/AccessType.js b/src/components/Dashboard/AccessType.js
index c318d71..a3c5696 100644
--- a/src/components/Dashboard/AccessType.js
+++ b/src/components/Dashboard/AccessType.js
@@ -57,11 +57,7 @@ function AccessTypeManagement() {
useEffect(() => {
const fetchAccessTypes = async () => {
-<<<<<<< HEAD
- const apiUrl = `${process.env.REACT_APP_API_URL}/api/getAllAccessTypes`;
-=======
const apiUrl = `${process.env.REACT_APP_API_URL}api/getAllAccessTypes`;
->>>>>>> 1c0592d (commit new code)
const token = localStorage.getItem("authToken");
if (!token) {
diff --git a/src/components/Dashboard/Codeextension.js b/src/components/Dashboard/Codeextension.js
index 2411084..8745d3c 100644
--- a/src/components/Dashboard/Codeextension.js
+++ b/src/components/Dashboard/Codeextension.js
@@ -29,11 +29,7 @@
// useEffect(() => {
// const fetchData = async () => {
// try {
-<<<<<<< HEAD
-// const response = await fetch('http://localhost:9292/api/extension');
-=======
// const response = await fetch('http://157.66.191.31:33266/api/extension');
->>>>>>> 1c0592d (commit new code)
// const data = await response.json();
// setMenuItems(data);
// } catch (error) {
diff --git a/src/components/Dashboard/Dashboard.js b/src/components/Dashboard/Dashboard.js
index b017dfa..fce6b25 100644
--- a/src/components/Dashboard/Dashboard.js
+++ b/src/components/Dashboard/Dashboard.js
@@ -420,11 +420,7 @@ function Dashboard() {
useEffect(() => {
const fetchMenuItems = async () => {
-<<<<<<< HEAD
- const apiUrl = `${process.env.REACT_APP_API_URL}/fndMenu/menuloadbyuser`;
-=======
const apiUrl = `${process.env.REACT_APP_API_URL}fndMenu/menuloadbyuser`;
->>>>>>> 1c0592d (commit new code)
const token = localStorage.getItem("authToken");
if (!token) {
diff --git a/src/components/Dashboard/DashboardView.js b/src/components/Dashboard/DashboardView.js
index 29c1fc4..cac8bbf 100644
--- a/src/components/Dashboard/DashboardView.js
+++ b/src/components/Dashboard/DashboardView.js
@@ -34,11 +34,7 @@ function DashboardView({onDashboardCharts}) {
}, [showTable]);
const fetchData = async () => {
-<<<<<<< HEAD
- const apiUrl = `${process.env.REACT_APP_API_URL}/getNotificationByUser`;
-=======
const apiUrl = `${process.env.REACT_APP_API_URL}getNotificationByUser`;
->>>>>>> 1c0592d (commit new code)
const token = localStorage.getItem("authToken");
if (!token) {
@@ -67,11 +63,7 @@ function DashboardView({onDashboardCharts}) {
};
const fetchDashboardCardData = async () => {
-<<<<<<< HEAD
- const apiUrl = `${process.env.REACT_APP_API_URL}/get_Dashboard_header`;
-=======
const apiUrl = `${process.env.REACT_APP_API_URL}get_Dashboard_header`;
->>>>>>> 1c0592d (commit new code)
const token = localStorage.getItem("authToken");
if (!token) {
diff --git a/src/components/Dashboard/DataType3.js b/src/components/Dashboard/DataType3.js
index a016e8b..ad04032 100644
--- a/src/components/Dashboard/DataType3.js
+++ b/src/components/Dashboard/DataType3.js
@@ -12,11 +12,7 @@ function DataType3() {
useEffect(() => {
const fetchData = async () => {
try {
-<<<<<<< HEAD
- const response = await fetch('http://localhost:9292/fndMenu/menuloadbyuser', {
-=======
const response = await fetch(`${process.env.REACT_APP_API_URL}fndMenu/menuloadbyuser`, {
->>>>>>> 1c0592d (commit new code)
method: 'GET',
headers: {
'Authorization': 'Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJzeXNhZG1pbiIsInNjb3BlcyI6IlJPTEVfRGV2ZWxvcGVyLFJPTEVfQURNSU4iLCJpYXQiOjE3MTYzNDkyNTEsImV4cCI6MTcxODk0MTI1MX0.fLW0-Uvb6X1fLQNzdiNiYeHO3lMYa1bsFAmOJkGCdRY'
diff --git a/src/components/Dashboard/DynamicForm/DynamicForm2.js b/src/components/Dashboard/DynamicForm/DynamicForm2.js
index eab3a63..e7de001 100644
--- a/src/components/Dashboard/DynamicForm/DynamicForm2.js
+++ b/src/components/Dashboard/DynamicForm/DynamicForm2.js
@@ -139,11 +139,7 @@ const DynamicForm2 = () => {
const handleBuild = async (id) => {
try {
-<<<<<<< HEAD
- const apiUrl = `${process.env.REACT_APP_API_URL}/api/dynamic_form_build`;
-=======
const apiUrl = `${process.env.REACT_APP_API_URL}api/dynamic_form_build`;
->>>>>>> 1c0592d (commit new code)
const token = localStorage.getItem("authToken");
await axios.post(
apiUrl,
diff --git a/src/components/Dashboard/MenuAccessControl.js b/src/components/Dashboard/MenuAccessControl.js
index d0cf199..235f09d 100644
--- a/src/components/Dashboard/MenuAccessControl.js
+++ b/src/components/Dashboard/MenuAccessControl.js
@@ -116,11 +116,7 @@ function MenuAccessControl({ selected, Sync }) {
useEffect(() => {
-<<<<<<< HEAD
- const apiUrl = `${process.env.REACT_APP_API_URL}/api/getAllUsrGrp`;
-=======
const apiUrl = `${process.env.REACT_APP_API_URL}api/getAllUsrGrp`;
->>>>>>> 1c0592d (commit new code)
// const token = localStorage.getItem("CurrentUser");
const token = getToken()
const fetchMenuItems = async () => {
diff --git a/src/components/Dashboard/MenuAccessControl2.js b/src/components/Dashboard/MenuAccessControl2.js
index c3c9554..3b46179 100644
--- a/src/components/Dashboard/MenuAccessControl2.js
+++ b/src/components/Dashboard/MenuAccessControl2.js
@@ -1225,11 +1225,7 @@ const MenuAccessControl = () => {
const fetchData = async () => {
-<<<<<<< HEAD
- const apiUrl = `${process.env.REACT_APP_API_URL}/api1/getusracces1/${usrgrp}`;
-=======
const apiUrl = `${process.env.REACT_APP_API_URL}api1/getusracces1/${usrgrp}`;
->>>>>>> 1c0592d (commit new code)
const token = localStorage.getItem("authToken");
try {
setLoading(true); // Start loading
diff --git a/src/components/Dashboard/MenuMaintenance.js b/src/components/Dashboard/MenuMaintenance.js
index 7d221a5..d8ab85e 100644
--- a/src/components/Dashboard/MenuMaintenance.js
+++ b/src/components/Dashboard/MenuMaintenance.js
@@ -103,11 +103,7 @@
// const handleSubMenuClick = async (menuItemId) => {
// try {
-<<<<<<< HEAD
-// const apiUrl = `http://localhost:9292/api1/submenu1/${menuItemId}`;
-=======
// const apiUrl = `http://157.66.191.31:33266/api1/submenu1/${menuItemId}`;
->>>>>>> 1c0592d (commit new code)
// const response = await fetch(apiUrl, {
// method: 'GET',
// headers: {
diff --git a/src/components/Dashboard/TOKENRegistry.js b/src/components/Dashboard/TOKENRegistry.js
index e8f3180..fd3c609 100644
--- a/src/components/Dashboard/TOKENRegistry.js
+++ b/src/components/Dashboard/TOKENRegistry.js
@@ -35,11 +35,7 @@ function TOKENRegistry() {
const [loading, setLoading] = useState(true);
useEffect(() => {
-<<<<<<< HEAD
- const apiUrl = `${process.env.REACT_APP_API_URL}/apiregistery/getall`;
-=======
const apiUrl = `${process.env.REACT_APP_API_URL}apiregistery/getall`;
->>>>>>> 1c0592d (commit new code)
const token = localStorage.getItem("authToken");
const fetchTokens = async () => {
diff --git a/src/components/Dashboard/UserMaintenanceView.js b/src/components/Dashboard/UserMaintenanceView.js
index c199c8b..7adf1a7 100644
--- a/src/components/Dashboard/UserMaintenanceView.js
+++ b/src/components/Dashboard/UserMaintenanceView.js
@@ -33,11 +33,7 @@
// const [isEditing, setIsEditing] = useState(false);
// useEffect(() => {
-<<<<<<< HEAD
-// const apiUrl = `${process.env.REACT_APP_API_URL}/api/getAllAppUser`;
-=======
// const apiUrl = `${process.env.REACT_APP_API_URL}api/getAllAppUser`;
->>>>>>> 1c0592d (commit new code)
// const token = localStorage.getItem("authToken");
// const fetchAppUsers = async () => {
@@ -377,11 +373,7 @@ function UserMaintenanceView() {
const [isEditing, setIsEditing] = useState(false);
const [loading, setLoading] = useState(true);
useEffect(() => {
-<<<<<<< HEAD
- const apiUrl = `${process.env.REACT_APP_API_URL}/api/getAllAppUser`;
-=======
const apiUrl = `${process.env.REACT_APP_API_URL}api/getAllAppUser`;
->>>>>>> 1c0592d (commit new code)
const token = localStorage.getItem("authToken");
const fetchAppUsers = async () => {
diff --git a/src/views/examples/Login.js b/src/views/examples/Login.js
index 6fdcf44..6209231 100644
--- a/src/views/examples/Login.js
+++ b/src/views/examples/Login.js
@@ -68,17 +68,10 @@ const Login = () => {
}
try {
-<<<<<<< HEAD
- console.log("Attempting login API request to:", 'http://localhost:9292/token/session');
-
- // API request to authentication endpoint
- const response = await fetch('http://localhost:9292/token/session', {
-=======
console.log("Attempting login API request to:", `${process.env.REACT_APP_API_URL}token/session`);
// API request to authentication endpoint
const response = await fetch(`${process.env.REACT_APP_API_URL}token/session`, {
->>>>>>> 1c0592d (commit new code)
method: "POST",
headers: {
"Content-Type": "application/json",
diff --git a/src/views/examples/Register.js b/src/views/examples/Register.js
index cfbbdff..348c7e3 100644
--- a/src/views/examples/Register.js
+++ b/src/views/examples/Register.js
@@ -72,13 +72,8 @@ const Register = () => {
*/
const checkApiStatus = async () => {
try {
-<<<<<<< HEAD
- console.log("Making API status request to http://localhost:9292/auth/status");
- const response = await fetch("http://localhost:9292/auth/status", {
-=======
console.log("Making API status request to ${process.env.REACT_APP_API_URL}auth/status");
const response = await fetch(`${process.env.REACT_APP_API_URL}auth/status`, {
->>>>>>> 1c0592d (commit new code)
method: "GET",
}).catch(() => {
console.log("API status request failed");
@@ -169,11 +164,7 @@ const Register = () => {
try {
console.log("Making API request to send OTP email");
// API call to verify email and send OTP
-<<<<<<< HEAD
- const response = await fetch(`http://localhost:9292/token/user/send_email`, {
-=======
const response = await fetch(`${process.env.REACT_APP_API_URL}token/user/send_email `, {
->>>>>>> 1c0592d (commit new code)
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ email }),
@@ -231,11 +222,7 @@ const Register = () => {
try {
console.log("Making API request to verify OTP:", otp);
// API call to verify OTP
-<<<<<<< HEAD
- const response = await fetch(`http://localhost:9292/token/user/otp_verification?email=${email}&otp=${otp}`, {
-=======
const response = await fetch(`${process.env.REACT_APP_API_URL}token/user/otp_verification?email=${email}&otp=${otp}`, {
->>>>>>> 1c0592d (commit new code)
method: "POST",
headers: { "Content-Type": "application/json" },
});
@@ -326,11 +313,7 @@ const Register = () => {
console.log("Submitting registration data:", JSON.stringify(registrationData, null, 2));
// Make the registration request
-<<<<<<< HEAD
- const response = await fetch("http://localhost:9292/token/addOneAppUser", {
-=======
const response = await fetch(`${process.env.REACT_APP_API_URL}token/addOneAppUser`, {
->>>>>>> 1c0592d (commit new code)
method: "POST",
headers: {
"Content-Type": "application/json",
@@ -549,11 +532,7 @@ const Register = () => {
setError("");
try {
-<<<<<<< HEAD
- const response = await fetch(`http://localhost:9292/token/user/resend_otp?email=${email}`, {
-=======
const response = await fetch(`${process.env.REACT_APP_API_URL}token/user/resend_otp?email=${email}`, {
->>>>>>> 1c0592d (commit new code)
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ email }),
diff --git a/src/views/examples/resetPassword.js b/src/views/examples/resetPassword.js
index 8632fbc..f4fca59 100644
--- a/src/views/examples/resetPassword.js
+++ b/src/views/examples/resetPassword.js
@@ -23,11 +23,7 @@ function ResetPassword() {
}
try {
-<<<<<<< HEAD
- const response = await fetch(`${process.env.REACT_APP_API_URL}/api/resources/forgotpassword`, {
-=======
const response = await fetch(`${process.env.REACT_APP_API_URL}api/resources/forgotpassword`, {
->>>>>>> 1c0592d (commit new code)
method: "POST",
headers: {
"Content-Type": "application/json",