From 4692705ed551e11b90cc8b9932b56220699a8ae2 Mon Sep 17 00:00:00 2001 From: Amith V Purushothaman <66194856+amith-vp@users.noreply.github.com> Date: Wed, 3 Jul 2024 00:14:12 +0530 Subject: [PATCH] Update dam_details_fetcher.js --- dam_details_fetcher.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dam_details_fetcher.js b/dam_details_fetcher.js index ea905a4..f350778 100644 --- a/dam_details_fetcher.js +++ b/dam_details_fetcher.js @@ -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;