Update api/answer.php
This commit is contained in:
1 parent
4d21fadd73
commit
06dfae012c
1 file changed
+5
-1
+5
-1
@@ -92,5 +92,9 @@ echo json_encode([
|
||||
'wordId' => $wordId,
|
||||
'updatedCorrect' => $updatedWord['correct'] ?? null,
|
||||
'updatedWrong' => $updatedWord['wrong'] ?? null
|
||||
]
|
||||
],
|
||||
'stats' => [
|
||||
'wordId' => $wordId,
|
||||
'correct' => $correct ? 1 : 0
|
||||
],
|
||||
]);
|
||||
Reference in new issue
Block a user