diff --git a/src/Services/JobsData.js b/src/Services/JobsData.js index cffff26..e2bebb0 100644 --- a/src/Services/JobsData.js +++ b/src/Services/JobsData.js @@ -7,15 +7,7 @@ async function JobsData() { "limit": 15, "page": 1 }]; -/* - var res = null; - const getWrenchBoardJobs = () => { - Axios.post("https://dashboard.wrenchboard.com/svs/user/startjoblist", callData).then((response) => { - res = response; - return response; - }); - } -*/ + let response = await Axios.post(process.env.REACT_APP_AUX_ENDPOINT+'/startjoblist', callData); return await response; }