diff --git a/src/flask_covid19/blueprints/data_rki/rki_model.py b/src/flask_covid19/blueprints/data_rki/rki_model.py index f8f2702899145892f87da492f9245ca3dd14c56d..dde87528741373c34413d6b09732d53f490db277 100644 --- a/src/flask_covid19/blueprints/data_rki/rki_model.py +++ b/src/flask_covid19/blueprints/data_rki/rki_model.py @@ -279,7 +279,7 @@ class RkiData(BlueprintFactTable): altersgruppe2 = db.Column(db.String(255), nullable=False) @classmethod - def find_by_date_reported_and_location(cls, date_reported: BlueprintDateReported, location: BlueprintLocation): + def find_by_date_reported_and_location(cls, date_reported: RkiMeldedatum, location: RkiLandkreis): return db.session.query(cls).filter( and_((cls.date_reported.id == date_reported.id), (cls.location.id == location.id)) ).one_or_none()