owner review job API added and API name changed
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user