don't return None there

This commit is contained in:
Jörn-Michael Miehe 2022-09-02 12:38:31 +00:00
parent 28339b22e0
commit d934ba90b5

View file

@ -30,7 +30,7 @@ async def get_image_file_names() -> Iterator[str]:
) )
except RemoteResourceNotFound: except RemoteResourceNotFound:
pass return iter(())
@router.get("/list", response_model=list[str]) @router.get("/list", response_model=list[str])