Fix audit log pagination logic

This commit is contained in:
Josh
2023-02-27 21:15:28 +10:00
committed by GitHub
parent 90d50bef1f
commit 6af6f82411
2 changed files with 7 additions and 10 deletions

View File

@ -1717,7 +1717,7 @@ class HTTPClient:
params: Dict[str, Any] = {'limit': limit}
if before:
params['before'] = before
if after:
if after is not None:
params['after'] = after
if user_id:
params['user_id'] = user_id