Compat API should support exact list path

This commit is contained in:
Mustafa Gezen 2023-02-02 17:00:23 +01:00
parent e7af833e6f
commit 41488ab903
Signed by untrusted user who does not match committer: mustafa
GPG Key ID: DCDF010D946438C1

View File

@ -250,7 +250,7 @@ async def fetch_advisories_compat(
@router.get( @router.get(
"/", "",
response_model=Pagination[Advisory_Pydantic_V2], response_model=Pagination[Advisory_Pydantic_V2],
dependencies=[ dependencies=[
Depends(pagination_ctx(Pagination[Advisory_Pydantic_V2], CompatParams)) Depends(pagination_ctx(Pagination[Advisory_Pydantic_V2], CompatParams))