Compat API starts page from 0

This commit is contained in:
Mustafa Gezen 2023-02-02 15:28:08 +01:00
parent a4b4c031b4
commit a9b56f6485
Signed by untrusted user who does not match committer: mustafa
GPG Key ID: DCDF010D946438C1

View File

@ -224,6 +224,7 @@ async def list_advisories_compat_v2(
severity: str = Query(default=None, alias="filters.severity"),
kind: str = Query(default=None, alias="filters.type"),
):
params.page = params.page + 1
state = await RedHatIndexState.first()