mirror of https://gitlab.com/litecord/litecord.git
utils: fix bug on not catching 'after' param properly
This commit is contained in:
parent
ea06ea88e2
commit
9088ac8fd3
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue