Skip to content

Commit 8303460

Browse files
authored
Merge pull request #143 from YuStudy-Inc/GamePage
forgot to push changes from frontend
2 parents 36b9e17 + 515276e commit 8303460

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Frontend/src/Pages/GamePage.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ const GamePage = () => {
2121
const data = JSON.parse(event.data);
2222
const monstersSlainValue = Number(data?.payload?.monstersSlain);
2323
//Update Quiz
24-
axios.put(`${URI}quizes/quizFinished/${quizId}`, {
24+
axios.put(`${URI}quizzes/quizFinished/${userId}`,
25+
{
26+
quizId: quizId
2527
}, {
2628
withCredentials: true,
2729
headers: {

0 commit comments

Comments
 (0)