diff --git a/service/src/main/inse/projects/model.py b/service/src/main/inse/projects/model.py index 2e0bf0e3..4714225f 100644 --- a/service/src/main/inse/projects/model.py +++ b/service/src/main/inse/projects/model.py @@ -327,7 +327,7 @@ class DfgProjectSummary(BaseModel): ) subject_classifications_raw: str | None = Field( - default_factory=None, + default=None, description="The subject classifications of the DFG project." ) abstract_de: str | None = Field( default=None, description="The abstract of the DFG project in German.") diff --git a/webapp/src/app/api/model/dfgProjectSummary.ts b/webapp/src/app/api/model/dfgProjectSummary.ts index 5a04cdb7..71fc130e 100644 --- a/webapp/src/app/api/model/dfgProjectSummary.ts +++ b/webapp/src/app/api/model/dfgProjectSummary.ts @@ -22,10 +22,7 @@ export interface DfgProjectSummary { link?: string | null; title_de?: string | null; title_en?: string | null; - /** - * The subject classifications of the DFG project. - */ - subject_classifications_raw?: Array; + subject_classifications_raw?: string | null; abstract_de?: string | null; abstract_en?: string | null; funding_start?: string | null;