diff --git a/api/advent22_api/routers/admin.py b/api/advent22_api/routers/admin.py index 87b63f0..131b910 100644 --- a/api/advent22_api/routers/admin.py +++ b/api/advent22_api/routers/admin.py @@ -59,9 +59,8 @@ async def get_private_config( _: None = Depends(require_admin), cfg: Config = Depends(get_config), cal_cfg: CalendarConfig = Depends(get_calendar_config), + shuffled_solution: str = Depends(shuffle_solution), ) -> PrivateConfig: - shuffled_solution = await shuffle_solution(cfg) - return PrivateConfig( puzzle=PrivatePuzzle( title="Adventskalender 2023",