Maybe this helps I guess

This commit is contained in:
Tiago Ribeiro
2024-03-21 16:30:01 +00:00
parent e99650ecd8
commit 7d83ebc5c5
2 changed files with 2 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ async function handler(req: NextApiRequest, res: NextApiResponse) {
{ {
solutions, solutions,
score: { score: {
correct: speakingReverseMarking[backendRequest.data.overall], correct: speakingReverseMarking[backendRequest.data.overall || 0] || 0,
missing: 0, missing: 0,
total: 100, total: 100,
}, },

View File

@@ -48,7 +48,7 @@ async function handler(req: NextApiRequest, res: NextApiResponse) {
{ {
solutions, solutions,
score: { score: {
correct: speakingReverseMarking[backendRequest.data.overall], correct: speakingReverseMarking[backendRequest.data.overall || 0] || 0,
total: 100, total: 100,
missing: 0, missing: 0,
}, },