Skip to content

Commit

Permalink
Merge pull request #925 from ebwinters/master
Browse files Browse the repository at this point in the history
Fix RAPS vax endpoint
  • Loading branch information
ebwinters committed Oct 23, 2020
2 parents 7cf8187 + ccefcf3 commit 1f5d701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scrapers/covid-19/getVaccine.js
Expand Up @@ -33,7 +33,7 @@ const getVaccineData = async (keys, redis) => {
logger.err('Error: Requesting vaccine data failed!', err);
}
try {
const { data } = await axios.get(`https://www.raps.org/RAPS/media/news-images/data/${year}${months[month]}${day}v2-vax-tracker-craven.csv`);
const { data } = await axios.get(`https://www.raps.org/RAPS/media/news-images/data/${year}${months[month]}${day}-vax-tracker-Craven.csv`);
const parsedData = await csv().fromString(data);
redis.set(keys.vaccine, JSON.stringify({
source: 'https://www.raps.org/news-and-articles/news-articles/2020/3/covid-19-vaccine-tracker',
Expand Down

0 comments on commit 1f5d701

Please sign in to comment.