Update api/answer.php
This commit is contained in:
@@ -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
|
||||
]
|
||||
]);
|
||||
Reference in New Issue
Block a user