changing some names from Vaccine to Drug

This commit is contained in:
Frank Knoll
2024-07-12 08:48:27 +02:00
parent 2cc3b29ed3
commit ca4d47bbac
5 changed files with 20 additions and 20 deletions

View File

@@ -1,10 +1,10 @@
class PrrByVaccineProvider {
static getPrrByVaccine(symptom) {
return fetch(`./data/ProportionalReportingRatios/symptoms/${symptom}`).then(response => response.json());
return fetch(`./data/ProportionalReportingRatios/symptoms/${symptom}.json`).then(response => response.json());
}
static getPrrBySymptom(vaccine) {
return fetch(`./data/ProportionalReportingRatios/vaccines/${vaccine}`).then(response => response.json());
return fetch(`./data/ProportionalReportingRatios/vaccines/${vaccine}.json`).then(response => response.json());
}
}