mistyped dependency

This commit is contained in:
Jörn-Michael Miehe 2023-09-21 13:22:27 +02:00
parent ff04499a02
commit 558f8d22ff

View file

@ -99,7 +99,7 @@ async def get_all_image_names(
async def gen_day_auto_image(
day: int,
cfg: Config = Depends(get_config),
auto_image_names: list[str] = Depends(get_all_auto_image_names),
auto_image_names: dict[int, str] = Depends(get_all_auto_image_names),
day_parts: dict[int, str] = Depends(get_all_parts),
) -> Image.Image:
"""
@ -131,7 +131,7 @@ async def gen_day_auto_image(
async def get_day_image(
day: int,
cfg: Config = Depends(get_config),
auto_image_names: list[str] = Depends(get_all_auto_image_names),
auto_image_names: dict[int, str] = Depends(get_all_auto_image_names),
day_parts: dict[int, str] = Depends(get_all_parts),
) -> Image.Image:
"""