Update api/answer.php
This commit is contained in:
1 parent
c578021f30
commit
64b298bce0
1 file changed
+4
@@ -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