Commit 8879a8c3 by Jansa Jose

rate mechanic

parent 9da218c8
......@@ -576,7 +576,7 @@ class Webservice_model extends CI_Model {
return $respArr;
}
public function rate_mechanic($auth,$postData){
public function rate_mechanic($postData){
$respArr = array('status'=>'error','message'=>'Something went Wrong.. Try Again');
if(empty($postData['rate'])){
$respArr['message'] = 'Rating is Required';
......@@ -1522,7 +1522,7 @@ class Webservice_model extends CI_Model {
}
$respArr['status'] = 'success';
$respArr['message'] = 'success';
$respArr['data']= $reviewData;
$respArr['data'] = $reviewData;
}
return $respArr;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment