Commit 6d053335 by Tobin

dc

parent cdfe8519
......@@ -605,7 +605,7 @@ class Api extends CI_Controller {
empty($resp->txnCardDetails) || count($resp->txnCardDetails) <= 0){
$this->errorResponse('893','No Data Found');
}
$resp = $this->encrypt(json_encode($resp->txnCardDetails),$this->local_key,$this->local_iv);
$resp = $this->encrypt("'".json_encode($resp->txnCardDetails)."'",$this->local_key,$this->local_iv);
$this->response(array('saved_cards'=>$resp));
}
......
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