Compare commits

..

No commits in common. "master" and "1.6.3" have entirely different histories.

View File

@ -84,7 +84,8 @@ async def read_events(
status_code=status.HTTP_400_BAD_REQUEST,
detail="`skip` should be >= 0 and `limit` should be > 0 and greater than `skip`.",
)
skip = limit * skip
limit = limit + skip
# Initialize filters
filters = []
@ -165,7 +166,7 @@ async def search_events(
status_code=status.HTTP_400_BAD_REQUEST,
detail="`skip` should be >= 0 and `limit` should be > 0 and greater than `skip`.",
)
skip = limit * skip
limit = limit + skip
# Initialize filters
filters = [{"status": {"$eq": status}}]