Merge branch 'develop' into bug-fixing-19-MAR

This commit is contained in:
Tiago Ribeiro
2024-03-22 11:15:30 +00:00
6 changed files with 3 additions and 12 deletions

View File

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

View File

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