Skip to content

Commit

Permalink
update variable name for countrylist json const
Browse files Browse the repository at this point in the history
  • Loading branch information
AshutoshSundresh authored Jun 14, 2024
1 parent 246dd03 commit 9d9e3df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ <h3 style="margin: 25px 0 5px 25px">UN Documents and Articles</h3>
});

// Fetch country list from datahub.io
const repondre = await fetch('https://raw.githubusercontent.com/munresearch/munresearch.github.io/master/countrylist.json');
const dataiso = await repondre.json();
const countryList = await fetch('https://raw.githubusercontent.com/munresearch/munresearch.github.io/master/countrylist.json');
const dataiso = await countryList.json();

// Create a map of country names to ISO 2-letter codes
const isoCodeMap = new Map();
Expand Down Expand Up @@ -276,4 +276,4 @@ <h3 style="margin: 25px 0 5px 25px">UN Documents and Articles</h3>
}
}
</style>
</html>
</html>

0 comments on commit 9d9e3df

Please sign in to comment.