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:
parent
52778532dc
commit
9d19ca554a
3 changed files with 3 additions and 3 deletions
|
@ -343,7 +343,7 @@ exports.dailyAction = () => {
|
||||||
utils.AppendToFile(JSON.stringify({
|
utils.AppendToFile(JSON.stringify({
|
||||||
date: new Date(),
|
date: new Date(),
|
||||||
subjectCount: data.Subjects.length,
|
subjectCount: data.Subjects.length,
|
||||||
questionCOunt: data.Subjects.reduce((acc, subj) => {
|
questionCount: data.Subjects.reduce((acc, subj) => {
|
||||||
return acc + subj.Questions.length
|
return acc + subj.Questions.length
|
||||||
}, 0)
|
}, 0)
|
||||||
}), dailyDataCountFile)
|
}), dailyDataCountFile)
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 93c5d887f5d92dd6fa13814db102d76cde49e901
|
Subproject commit bf2b44ee56d54e944684b51ca4be015163267408
|
|
@ -93,7 +93,7 @@ function ProcessIncomingRequest (recievedData, qdb, infos) {
|
||||||
let color = logger.GetColor('green')
|
let color = logger.GetColor('green')
|
||||||
let msg = ''
|
let msg = ''
|
||||||
if (allQuestions.length > 0) {
|
if (allQuestions.length > 0) {
|
||||||
color = logger.GetColor('cyan')
|
color = logger.GetColor('blue')
|
||||||
msg += `New questions: ${allQuestions.length} ( All: ${allQLength} )`
|
msg += `New questions: ${allQuestions.length} ( All: ${allQLength} )`
|
||||||
allQuestions.forEach((q) => {
|
allQuestions.forEach((q) => {
|
||||||
const sName = classes.SUtils.GetSubjNameWithoutYear(d.subj)
|
const sName = classes.SUtils.GetSubjNameWithoutYear(d.subj)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue