We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80d036b commit faf7ba7Copy full SHA for faf7ba7
cron/data-providers/baselab.js
@@ -43,8 +43,8 @@ module.exports = async function () {
43
const totalRow = data.shift()
44
const total = {
45
infections: totalRow[1],
46
- activeCases: totalRow[2],
47
- deaths: totalRow[3],
+ activeCases: totalRow[3],
+ deaths: totalRow[2],
48
recovered: totalRow[4],
49
mortalityRate: totalRow[5],
50
revoveryRate: totalRow[6],
@@ -53,10 +53,11 @@ module.exports = async function () {
53
54
for (const row of data) {
55
const c = shared.getCountryCode(row[0])
56
+ console.log(row)
57
res[c] = {
58
infections: row[1],
- activeCases: row[2],
59
- deaths: row[3],
+ activeCases: row[3],
60
+ deaths: row[2],
61
recovered: row[4],
62
mortalityRate: row[5],
63
revoveryRate: row[6],
0 commit comments