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;