ERROR RECTIFIED

This commit is contained in:
Velz2020 2019-06-22 11:42:25 +05:30
parent 63f57b0afd
commit d2d8572f81
4 changed files with 6 additions and 6 deletions

View File

@ -6320,7 +6320,7 @@ class PD_Controller extends REST_Controller {
#####Address Form Questions########
$address_form = (json_decode($form_data[5][0]['processed_json'],true));
//print_r($address_form);die();
print_r($address_form);die();
// 4 - QNO(1.2) - Comment on locality
$score_questions['general']['comment_locality'] = $address_form['addresses'][0]['comment_locality_master'];
// 5 - QNO(1.3) - pd location approach

View File

@ -13,7 +13,7 @@ class MYHTTPCLIENT
if(true)
{
$client = new \GuzzleHttp\Client();
$client->post( URL_TO_SEND _DATA, [
$client->post( URL_TO_SEND_DATA, [
'headers' => ['Content-Type' => 'application/json'],
'body' => json_encode($dataToBot)
]);

View File

@ -11,8 +11,8 @@ class AWS_SES
private $SES;
private $name = "TEST";
private $ses_properties = array('region'=>'us-east-1','version'=>'latest','credentials' => array(
'key' => $this->config->item('cognito_resource_key'),
'secret' => $this->config->item('cognito_resource_secret')
'key' => 'somekey',
'secret' => 'somekey'
));
public function __construct()
{

View File

@ -11,8 +11,8 @@ class AWS_SNS
private $sns;
private $sns_properties = array('region'=>'us-east-1','version'=>'latest','credentials' => array(
'key' => $this->config->item('cognito_resource_key'),
'secret' => $this->config->item('cognito_resource_secret')
'key' => 'somekey',
'secret' => 'somekey'
));
public function __construct()
{