Fixed first vac
This commit is contained in:
1359
package-lock.json
generated
1359
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -23,7 +23,7 @@ const data = {
|
|||||||
sumOfTodays += +(arr[2]);
|
sumOfTodays += +(arr[2]);
|
||||||
countDays++;
|
countDays++;
|
||||||
}
|
}
|
||||||
data.firstVac = +(arr[5]) || data.firstVac;
|
data.firstVac = +(arr[8]) || data.firstVac;
|
||||||
data.secondVac = +(arr[9]) || data.secondVac;
|
data.secondVac = +(arr[9]) || data.secondVac;
|
||||||
}
|
}
|
||||||
data.dayCount = sumOfTodays / countDays;
|
data.dayCount = sumOfTodays / countDays;
|
||||||
@@ -50,4 +50,4 @@ const listener = app.listen(
|
|||||||
const addr = listener.address();
|
const addr = listener.address();
|
||||||
console.log(`App listening on port ${typeof addr === "object" ? addr.port : addr}!`);
|
console.log(`App listening on port ${typeof addr === "object" ? addr.port : addr}!`);
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user