mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Typo fix, new question log color is now blue
This commit is contained in:
@@ -343,7 +343,7 @@ exports.dailyAction = () => {
|
||||
utils.AppendToFile(JSON.stringify({
|
||||
date: new Date(),
|
||||
subjectCount: data.Subjects.length,
|
||||
questionCOunt: data.Subjects.reduce((acc, subj) => {
|
||||
questionCount: data.Subjects.reduce((acc, subj) => {
|
||||
return acc + subj.Questions.length
|
||||
}, 0)
|
||||
}), dailyDataCountFile)
|
||||
|
Submodule public/moodle-test-userscript updated: 93c5d887f5...bf2b44ee56
@@ -93,7 +93,7 @@ function ProcessIncomingRequest (recievedData, qdb, infos) {
|
||||
let color = logger.GetColor('green')
|
||||
let msg = ''
|
||||
if (allQuestions.length > 0) {
|
||||
color = logger.GetColor('cyan')
|
||||
color = logger.GetColor('blue')
|
||||
msg += `New questions: ${allQuestions.length} ( All: ${allQLength} )`
|
||||
allQuestions.forEach((q) => {
|
||||
const sName = classes.SUtils.GetSubjNameWithoutYear(d.subj)
|
||||
|
Reference in New Issue
Block a user