mistyped dependency
This commit is contained in:
parent
ff04499a02
commit
558f8d22ff
1 changed files with 2 additions and 2 deletions
|
@ -99,7 +99,7 @@ async def get_all_image_names(
|
||||||
async def gen_day_auto_image(
|
async def gen_day_auto_image(
|
||||||
day: int,
|
day: int,
|
||||||
cfg: Config = Depends(get_config),
|
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),
|
day_parts: dict[int, str] = Depends(get_all_parts),
|
||||||
) -> Image.Image:
|
) -> Image.Image:
|
||||||
"""
|
"""
|
||||||
|
@ -131,7 +131,7 @@ async def gen_day_auto_image(
|
||||||
async def get_day_image(
|
async def get_day_image(
|
||||||
day: int,
|
day: int,
|
||||||
cfg: Config = Depends(get_config),
|
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),
|
day_parts: dict[int, str] = Depends(get_all_parts),
|
||||||
) -> Image.Image:
|
) -> Image.Image:
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue