Active Jobs

This commit is contained in:
CHIEFSOFT\ameye
2023-05-14 21:49:08 -04:00
parent 7c2f90b1b8
commit c877c70bf0
4 changed files with 26 additions and 15 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ export default function MyActiveJobsPage() {
const [MyJobList, setMyJobList] = useState([]);
const api = new usersService();
//TARGET ENDPOINT[POST]http://10.204.5.100:9083/en/wrench/api/v1/jobmanageractive
const getMyJobList = async () => {
try {
const res = await api.getMyActiveJobList();
+1 -1
View File
@@ -11,7 +11,7 @@ export default function MyPendingJobsPage() {
const getMyJobList = async () => {
try {
const res = await api.getMyActiveJobList();
const res = await api.getMyPendingJobList();
setMyJobList(res.data);
} catch (error) {
console.log("Error getting mode");