refactoring
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
class PrrByVaccineProvider {
|
||||
|
||||
static getPrrByVaccine(symptom) {
|
||||
return fetch(`./data/ProportionalReportingRatios/symptoms/${symptom}.json`).then(response => response.json());
|
||||
return fetch(`./data/ProportionalReportingRatios/symptoms/${symptom}`).then(response => response.json());
|
||||
}
|
||||
|
||||
static getPrrBySymptom(vaccine) {
|
||||
return fetch(`./data/ProportionalReportingRatios/vaccines/${vaccine}.json`).then(response => response.json());
|
||||
return fetch(`./data/ProportionalReportingRatios/vaccines/${vaccine}`).then(response => response.json());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user