Commit c8f6f245 by Jansa Jose

ipok accept

parent 80cdfa06
......@@ -7179,7 +7179,7 @@ class Webservice extends CI_Controller {
$data = (array) json_decode(file_get_contents("php://input"));
if(isset($headers['Auth']) && strlen($headers['Auth'])) {
$check_authToken = $this->Webservice_model->check_auth_token_doctor($headers['Auth']);
$check_authToken = $this->Webservice_model->check_auth_token($headers['Auth']);
if($check_authToken){
if(isset($data['id']) && strlen(trim($data['id']," ")) > 0 && isset($data['booking_id']) && strlen(trim($data['booking_id']," ")) > 0 && isset($data['doctor_id']) && strlen(trim($data['doctor_id']," ")) > 0) {
$result = $this->Webservice_model->accept_consultation_date_change($data);
......
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