Update api/answer.php

This commit is contained in:
2026-06-15 12:34:58 +02:00
parent c578021f30
commit 64b298bce0
+4
View File
@@ -93,5 +93,9 @@ echo json_encode([
'stats' => [
'wordId' => $wordId,
'correct' => $correct ? 1 : 0
],
'debug' => [
'updatedCorrect' => $data['words'][$i]['correct'] ?? null,
'updatedWrong' => $data['words'][$i]['wrong'] ?? null
]
]);