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 = (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
|
||||
|
||||
@ -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)
|
||||
]);
|
||||
|
||||
@ -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()
|
||||
{
|
||||
|
||||
@ -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()
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user