refactoring

This commit is contained in:
frankknoll
2023-11-10 08:21:22 +01:00
parent fdd58ffda5
commit ace2aec131
10000 changed files with 2 additions and 10001 deletions

View File

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