Typo fix, new question log color is now blue

This commit is contained in:
MrFry 2020-04-01 13:17:25 +02:00
parent 52778532dc
commit 9d19ca554a
3 changed files with 3 additions and 3 deletions

View file

@ -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)

@ -1 +1 @@
Subproject commit 93c5d887f5d92dd6fa13814db102d76cde49e901
Subproject commit bf2b44ee56d54e944684b51ca4be015163267408

View file

@ -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)