Commit 39eee5d6 by Jansa Jose

Merge branch 'master' of https://gitlab.techware.co.in/timeout/timeOut into jansa

parents 637d4c25 85428ad3
......@@ -785,11 +785,10 @@ class Api extends CI_Controller {
if(empty($data) || !isset($data['request_data']) || empty($request_data = $data['request_data'])){
$this->errorResponse('892','Request Data Missing');
}
pre($request_data);
$reqData = $this->encrypt(json_encode($request_data),$this->local_key,$this->local_iv);
$reqData = urlencode(base64_encode($reqData));
$res['data']['reqData'] = $reqData;
$this->response($res['data']);
$this->response(array('reqData'=>$reqData));
} catch(Exception $e) {
$this->errorResponse('894','Something went wrong, Please try again');
}
......
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