From fbe7aedacf3156c97a665f10f44b686969599b81 Mon Sep 17 00:00:00 2001 From: VE10-Sanjeev Date: Fri, 8 Apr 2022 23:13:00 +0530 Subject: [PATCH] Google sheet 6 : ps --- api/application/controllers/Data_Dump_Controller.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/application/controllers/Data_Dump_Controller.php b/api/application/controllers/Data_Dump_Controller.php index 7b9b80db..bf5d5330 100644 --- a/api/application/controllers/Data_Dump_Controller.php +++ b/api/application/controllers/Data_Dump_Controller.php @@ -88,7 +88,8 @@ class Data_Dump_Controller extends REST_Controller { // $logger = MYLOG::logFunction(null,"Gsheet"); log_message('ERROR','#/# G-Sheet Fns Entered - '.date('Y-m-d H:i:s A')); // $sheetData = $this->post(); - $sheetData = json_decode($this->post(),true); + // $sheetData = json_decode($this->post(),true); + $sheetData = json_decode($_POST['data']); log_message('ERROR','#/# Params Count - '.count($sheetData)); if(count($sheetData) > 0){ $pd_id = $this->modificationGsheetData($sheetData);