diff --git a/src/modules/api/api.js b/src/modules/api/api.js index e44d65f..f388446 100644 --- a/src/modules/api/api.js +++ b/src/modules/api/api.js @@ -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 {