utils: fix bug on not catching 'after' param properly

This commit is contained in:
Luna 2021-09-13 23:52:38 -03:00
parent ea06ea88e2
commit 9088ac8fd3
1 changed files with 1 additions and 1 deletions

View File

@ -279,7 +279,7 @@ def query_tuple_from_args(args: dict, limit: int) -> tuple:
if "before" in args:
before = int(args["before"])
elif "after" in args:
before = int(args["after"])
after = int(args["after"])
return before, after