From b36e58509b3102f342109389b8f7f7387cc26a48 Mon Sep 17 00:00:00 2001 From: Peter Markewitz Date: Sun, 25 Feb 2024 19:39:53 +0000 Subject: [PATCH] fix #558 --- src/responses/districts.ts | 2 +- src/responses/germany.ts | 2 +- src/responses/states.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/responses/districts.ts b/src/responses/districts.ts index bfd4f3d3..45c88e34 100644 --- a/src/responses/districts.ts +++ b/src/responses/districts.ts @@ -63,7 +63,7 @@ export async function DistrictsResponse(ags?: string): Promise { getNewDistrictCases(metaData), getNewDistrictDeaths(metaData), getNewDistrictRecovered(metaData), - getDistrictsFrozenIncidenceHistory(metaData, 3), + getDistrictsFrozenIncidenceHistory(metaData, 7), ]); function getDistrictByAgs( diff --git a/src/responses/germany.ts b/src/responses/germany.ts index 2b107084..9f407794 100644 --- a/src/responses/germany.ts +++ b/src/responses/germany.ts @@ -88,7 +88,7 @@ export async function GermanyResponse(): Promise { getStatesData(metaData), getRValue(), getHospitalizationData(), - getStatesFrozenIncidenceHistory(metaData, 3, "Bund"), + getStatesFrozenIncidenceHistory(metaData, 7, "Bund"), ]); // calculate week incidence diff --git a/src/responses/states.ts b/src/responses/states.ts index ae163f47..9cdfaa6b 100644 --- a/src/responses/states.ts +++ b/src/responses/states.ts @@ -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)