diff --git a/api/advent22_api/routers/admin.py b/api/advent22_api/routers/admin.py index 59c4fbb..100787c 100644 --- a/api/advent22_api/routers/admin.py +++ b/api/advent22_api/routers/admin.py @@ -56,8 +56,11 @@ async def get_config_model( _: None = Depends(require_admin), cfg: Config = Depends(get_config), cal_cfg: CalendarConfig = Depends(get_calendar_config), - parts: dict[int, str] = Depends(get_parts), ) -> ConfigModel: + """ + Kombiniert aus privaten `settings`, `config` und `calendar_config` + """ + return ConfigModel.model_validate( { "puzzle": {