added home blog section
This commit was merged in pull request #4.
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
import Axios from 'axios';
|
||||
import getConfig from './../Config/config'
|
||||
|
||||
async function JobsData() {
|
||||
var site = getConfig()[0];
|
||||
var callData = [{
|
||||
"limit": 10,
|
||||
"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;
|
||||
}
|
||||
|
||||
export default JobsData;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user