Corrected test situation

This commit is contained in:
Peter Edmond 2025-06-13 17:27:36 +01:00
parent 8ceb409dc3
commit 0b47c2b3e4
2 changed files with 4 additions and 4 deletions

View File

@ -35,7 +35,7 @@ function doComments(id,qid) {
const parsed = JSON.parse(data);
const div = document.getElementById(id);
console.log(div);
// Create a new <ul> element
const ul = document.createElement("ul");

View File

@ -20,11 +20,11 @@ $apiToken = $config['api_token'];
$dataCenter = $config['data_centre'];
// Get the survey ID from POST
$surveyId = $_POST['survey_id'] ?? null;
$surveyId = $_POST['surveyId'] ?? null;
if (!$surveyId) {
//$surveyId="SV_cAstEvm4ZrPaqGi";
$surveyId="SV_cwKjMqAqGxImjMG";
#die("No survey ID provided.");
//$surveyId="SV_cwKjMqAqGxImjMG";
die("No survey ID provided.");
}
// Build URL