ERROR RECTIFIED
This commit is contained in:
parent
63f57b0afd
commit
d2d8572f81
@ -6320,7 +6320,7 @@ class PD_Controller extends REST_Controller {
|
|||||||
|
|
||||||
#####Address Form Questions########
|
#####Address Form Questions########
|
||||||
$address_form = (json_decode($form_data[5][0]['processed_json'],true));
|
$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
|
// 4 - QNO(1.2) - Comment on locality
|
||||||
$score_questions['general']['comment_locality'] = $address_form['addresses'][0]['comment_locality_master'];
|
$score_questions['general']['comment_locality'] = $address_form['addresses'][0]['comment_locality_master'];
|
||||||
// 5 - QNO(1.3) - pd location approach
|
// 5 - QNO(1.3) - pd location approach
|
||||||
|
|||||||
@ -13,7 +13,7 @@ class MYHTTPCLIENT
|
|||||||
if(true)
|
if(true)
|
||||||
{
|
{
|
||||||
$client = new \GuzzleHttp\Client();
|
$client = new \GuzzleHttp\Client();
|
||||||
$client->post( URL_TO_SEND _DATA, [
|
$client->post( URL_TO_SEND_DATA, [
|
||||||
'headers' => ['Content-Type' => 'application/json'],
|
'headers' => ['Content-Type' => 'application/json'],
|
||||||
'body' => json_encode($dataToBot)
|
'body' => json_encode($dataToBot)
|
||||||
]);
|
]);
|
||||||
|
|||||||
@ -11,8 +11,8 @@ class AWS_SES
|
|||||||
private $SES;
|
private $SES;
|
||||||
private $name = "TEST";
|
private $name = "TEST";
|
||||||
private $ses_properties = array('region'=>'us-east-1','version'=>'latest','credentials' => array(
|
private $ses_properties = array('region'=>'us-east-1','version'=>'latest','credentials' => array(
|
||||||
'key' => $this->config->item('cognito_resource_key'),
|
'key' => 'somekey',
|
||||||
'secret' => $this->config->item('cognito_resource_secret')
|
'secret' => 'somekey'
|
||||||
));
|
));
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
|
|||||||
@ -11,8 +11,8 @@ class AWS_SNS
|
|||||||
private $sns;
|
private $sns;
|
||||||
|
|
||||||
private $sns_properties = array('region'=>'us-east-1','version'=>'latest','credentials' => array(
|
private $sns_properties = array('region'=>'us-east-1','version'=>'latest','credentials' => array(
|
||||||
'key' => $this->config->item('cognito_resource_key'),
|
'key' => 'somekey',
|
||||||
'secret' => $this->config->item('cognito_resource_secret')
|
'secret' => 'somekey'
|
||||||
));
|
));
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user