Skip to content

Commit

Permalink
fix: fix broken region information (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
sameh-farouk authored Jan 16, 2024
1 parent da00000 commit 4990fb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/init-countries.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ async function main () {
}
index++

const region = country.continent || "unknown region"
const subregion = country.region || "unknown subregion"
const region = country.region || "unknown region"
const subregion = country.subregion || "unknown subregion"

return client.query(text, [index, index, country.name, code, region, subregion, lat, long])
})
Expand Down

0 comments on commit 4990fb7

Please sign in to comment.