Commit 8ec0fb2e by Jansa Jose

update fcm doctor auth

parent 54971e33
......@@ -3934,7 +3934,7 @@ print_r(date('H:i',$ms));exit();*/
//$data =(array) json_decode(file_get_contents("php://input"));
$data = $_POST;
if( isset($headers['Auth']) && strlen($headers['Auth'])){
$check_authToken = $this->Webservice_model->check_auth_token($headers['Auth']);
$check_authToken = $this->Webservice_model->check_auth_token_doctor($headers['Auth']);
if($check_authToken){
if(isset($data['fcm_token']) && strlen($data['fcm_token'])){
$result = $this->Webservice_model->update_fcm_token_doctor($data,$headers['Auth']);
......
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