Skip to content

Commit

Permalink
fix #558 (#559)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rubber1Duck authored Feb 25, 2024
1 parent ebea9e2 commit deaa1c4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/responses/districts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export async function DistrictsResponse(ags?: string): Promise<DistrictsData> {
getNewDistrictCases(metaData),
getNewDistrictDeaths(metaData),
getNewDistrictRecovered(metaData),
getDistrictsFrozenIncidenceHistory(metaData, 3),
getDistrictsFrozenIncidenceHistory(metaData, 7),
]);

function getDistrictByAgs(
Expand Down
2 changes: 1 addition & 1 deletion src/responses/germany.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export async function GermanyResponse(): Promise<GermanyData> {
getStatesData(metaData),
getRValue(),
getHospitalizationData(),
getStatesFrozenIncidenceHistory(metaData, 3, "Bund"),
getStatesFrozenIncidenceHistory(metaData, 7, "Bund"),
]);

// calculate week incidence
Expand Down
2 changes: 1 addition & 1 deletion src/responses/states.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export async function StatesResponse(
getNewStateDeaths(metaData),
getNewStateRecovered(metaData),
getHospitalizationData(),
getStatesFrozenIncidenceHistory(metaData, 3),
getStatesFrozenIncidenceHistory(metaData, 7),
]);

// remove the first element from statesData.data (=Bundesgebiet)
Expand Down

0 comments on commit deaa1c4

Please sign in to comment.