mirror of
https://github.com/resf/distro-tools.git
synced 2024-12-22 10:58:28 +00:00
Compat API starts page from 0
This commit is contained in:
parent
a4b4c031b4
commit
a9b56f6485
@ -224,6 +224,7 @@ async def list_advisories_compat_v2(
|
|||||||
severity: str = Query(default=None, alias="filters.severity"),
|
severity: str = Query(default=None, alias="filters.severity"),
|
||||||
kind: str = Query(default=None, alias="filters.type"),
|
kind: str = Query(default=None, alias="filters.type"),
|
||||||
):
|
):
|
||||||
|
params.page = params.page + 1
|
||||||
|
|
||||||
state = await RedHatIndexState.first()
|
state = await RedHatIndexState.first()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user