diff --git a/api/advent22_api/routers/admin.py b/api/advent22_api/routers/admin.py index aabccbf..5601c91 100644 --- a/api/advent22_api/routers/admin.py +++ b/api/advent22_api/routers/admin.py @@ -21,7 +21,6 @@ async def is_admin( class ConfigModel(BaseModel): class __Puzzle(BaseModel): - title: str solution: str begin: date end: date @@ -65,7 +64,6 @@ async def get_config_model( return ConfigModel.model_validate( { "puzzle": { - "title": cfg.puzzle.title, "solution": cfg.puzzle.solution, "begin": date.today(), # TODO "end": date.today(), # TODO diff --git a/ui/src/components/admin/ConfigView.vue b/ui/src/components/admin/ConfigView.vue index b0db1fa..9b2b5fa 100644 --- a/ui/src/components/admin/ConfigView.vue +++ b/ui/src/components/admin/ConfigView.vue @@ -7,7 +7,8 @@