Updates as per Team meeting 28 Aug 2025
This commit is contained in:
@@ -7,7 +7,7 @@ $dataCentre = $config['data_centre'];
|
||||
$surveyId = $_POST['survey_id'] ?? null;
|
||||
|
||||
if (!$surveyId) {
|
||||
$surveyId="SV_bD838sNKZEmi6Tc"; // *****FIXME***** JUST FOR DEVELOPMENT
|
||||
$surveyId="SV_cwKjMqAqGxImjMG"; // *****FIXME***** JUST FOR DEVELOPMENT
|
||||
//die("No survey ID provided.");
|
||||
}
|
||||
|
||||
@@ -93,6 +93,10 @@ curl_close($ch);
|
||||
// Decode the response
|
||||
$data = json_decode($response, true);
|
||||
|
||||
//For testing only
|
||||
echo $response;
|
||||
|
||||
|
||||
//Save surveyId
|
||||
//insertSurveyIfNotExists($identifier, $description); // The identifier is actually the surveyId, and the description isn't included at this point.
|
||||
$surveyIndex = getOrCreateSurvey($surveyId, "");
|
||||
|
||||
Reference in New Issue
Block a user