From 8290925659e0871fb81dd7ae8a88cc554aa8daea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Tue, 12 Sep 2023 17:16:02 +0000 Subject: [PATCH] minor cleanup --- api/advent22_api/routers/admin.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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": {