removed console in validateApi
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
let url_Backend_dwinzo = `http://${process.env.REACT_APP_SERVER_REST_API_BASE_URL}`;
|
||||
export const validateSimulationDataApi = async (data: any) => {
|
||||
console.log("data: validate", data);
|
||||
try {
|
||||
const response = await fetch(`${url_Backend_dwinzo}/api/V1/ValidateSimulated`, {
|
||||
method: "POST",
|
||||
@@ -21,7 +20,7 @@ export const validateSimulationDataApi = async (data: any) => {
|
||||
}
|
||||
|
||||
const result = await response.json();
|
||||
console.log("result:Valid ", result);
|
||||
echo.warn(result?.message);
|
||||
|
||||
return result;
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user