Skip to content

Commit

Permalink
Update dam_details_fetcher.js
Browse files Browse the repository at this point in the history
  • Loading branch information
amith-vp authored Jul 2, 2024
1 parent 6369171 commit 4692705
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dam_details_fetcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ async function fetchDamDetails() {
if (file.endsWith('.json')) {
const damName = file.replace('historic_data_', '').replace('.json', '').replace(/_/g, ' ');
console.log(damName);
console.log(foldername);
console.log(folderName);
console.log(file);
const data = JSON.parse(await fs.readFile(`${folderName}/${file}`, 'utf8'));
existingData[damName] = data;
Expand Down

0 comments on commit 4692705

Please sign in to comment.