Skip to content

Commit 2313780

Browse files
authored
Merge branch 'master' into master
2 parents bf3258d + d702c15 commit 2313780

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

cron/data-providers/baselab.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ module.exports = async function () {
3434
rows.forEach(row => {
3535
const country = row.querySelector('th').innerText
3636
const d = row.querySelectorAll('td')
37-
const r = [country, n(d[0].innerText), n(d[2].innerText), n(d[3].innerText), n(d[5].innerText), percents(d[6].innerText), percents(d[7].innerText)]
37+
const r = [country, n(d[0].innerText), n(d[1].innerText), n(d[4].innerText), n(d[5].innerText), percents(d[6].innerText), percents(d[7].innerText)]
3838
res.push(r)
3939
})
4040
return res
@@ -47,7 +47,7 @@ module.exports = async function () {
4747
deaths: totalRow[3],
4848
recovered: totalRow[4],
4949
mortalityRate: totalRow[5],
50-
recoveryRate: totalRow[6]
50+
revoveryRate: totalRow[6],
5151
}
5252

5353
for (const row of data) {
@@ -58,7 +58,7 @@ module.exports = async function () {
5858
deaths: row[3],
5959
recovered: row[4],
6060
mortalityRate: row[5],
61-
recoveryRate: row[6]
61+
revoveryRate: row[6],
6262
}
6363
}
6464
const state = {

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "covid19-api",
3-
"version": "1.1.3",
3+
"version": "1.1.4",
44
"description": "An API service for fetching data about COVID-19 spread across the world",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)