diff --git a/backend/app/schemas/case.py b/backend/app/schemas/case.py index cee79ce..8311e2d 100644 --- a/backend/app/schemas/case.py +++ b/backend/app/schemas/case.py @@ -17,7 +17,7 @@ class CaseResponse(BaseModel): datum: date anrede: Optional[str] = None vorname: Optional[str] = None - nachname: str + nachname: Optional[str] = None geburtsdatum: Optional[date] = None kvnr: Optional[str] = None versicherung: str diff --git a/frontend/src/types/index.ts b/frontend/src/types/index.ts index 278a18b..8230496 100644 --- a/frontend/src/types/index.ts +++ b/frontend/src/types/index.ts @@ -42,7 +42,7 @@ export interface Case { datum: string anrede: string | null vorname: string | null - nachname: string + nachname: string | null geburtsdatum: string | null kvnr: string | null versicherung: string