diff --git a/dam_details_fetcher.js b/dam_details_fetcher.js index 9a5664b..ea905a4 100644 --- a/dam_details_fetcher.js +++ b/dam_details_fetcher.js @@ -111,6 +111,9 @@ async function fetchDamDetails() { for (const file of files) { if (file.endsWith('.json')) { const damName = file.replace('historic_data_', '').replace('.json', '').replace(/_/g, ' '); + console.log(damName); + console.log(foldername); + console.log(file); const data = JSON.parse(await fs.readFile(`${folderName}/${file}`, 'utf8')); existingData[damName] = data; }