mirror of
https://github.com/zedeus/nitter.git
synced 2024-12-12 11:06:30 +00:00
Skip list request if ID is empty
This commit is contained in:
parent
5e0eb02422
commit
e3f6c72bf6
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ proc getGraphListById*(id: string): Future[List] {.async.} =
|
|||
result = parseGraphList(js)
|
||||
|
||||
proc getListTimeline*(id: string; after=""): Future[Timeline] {.async.} =
|
||||
if id.len == 0: return
|
||||
let
|
||||
ps = genParams({"list_id": id, "ranking_mode": "reverse_chronological"}, after)
|
||||
url = listTimeline ? ps
|
||||
|
|
Loading…
Reference in a new issue