owner review job API added and API name changed

This commit is contained in:
victorAnumudu
2023-06-13 23:09:55 +01:00
parent 4abd8a911b
commit 8e35839ddf
4 changed files with 226 additions and 15 deletions
@@ -40,7 +40,7 @@ function CurrentTaskAction({jobDetails}) {
}
// API CALL TO MARK TASK AS COMPLETED BY WORKER
apiCall.taskCompleted(reqData).then((res)=>{
apiCall.workerJobAction(reqData).then((res)=>{
if(res.status != 200 || res.data.internal_return < 0){
setReqStatus({loading:false, status: false, message: 'unable to complete request. Try again'})
return