mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Subjinfo fix round 3
This commit is contained in:
@@ -826,10 +826,11 @@ function GetApp() {
|
||||
return {
|
||||
subjects: data.length,
|
||||
questions: data.reduce((acc, subj) => {
|
||||
return acc + subj.length
|
||||
return acc + subj.Questions.length
|
||||
}, 0),
|
||||
}
|
||||
}
|
||||
|
||||
function getDetailedRes() {
|
||||
return data.map((subj) => {
|
||||
return {
|
||||
|
Reference in New Issue
Block a user