This commit is contained in:
2025-06-23 09:37:53 +05:30
parent 2fbdf8ab61
commit 54b02541c1
278 changed files with 10134 additions and 7904 deletions

View File

@@ -1,5 +1,4 @@
let url_Backend_dwinzo = `http://${process.env.REACT_APP_SERVER_REST_API_BASE_URL}`;
// let url_Backend_dwinzo = `http://192.168.0.102:5000`;
export const updateProject = async (
projectId: string,
@@ -40,9 +39,9 @@ export const updateProject = async (
return result;
} catch (error) {
if (error instanceof Error) {
throw new Error(error.message);
console.log(error.message);
} else {
throw new Error("An unknown error occurred");
console.log("An unknown error occurred");
}
}
};