mirror of
https://github.com/zedeus/nitter
synced 2026-09-06 07:09:31 +00:00
Parse user stats as ints, not strings, cleanup
This commit is contained in:
parent
54330f0b0c
commit
fcfc1ef497
6 changed files with 18 additions and 19 deletions
|
|
@ -19,8 +19,7 @@ proc timelineRss*(req: Request; cfg: Config; query: Query): Future[Rss] {.async.
|
|||
names = getNames(name)
|
||||
|
||||
if names.len == 1:
|
||||
(profile, timeline) =
|
||||
await fetchSingleTimeline(after, query, skipRail=true)
|
||||
(profile, timeline) = await fetchTimeline(after, query, skipRail=true)
|
||||
else:
|
||||
var q = query
|
||||
q.fromUser = names
|
||||
|
|
|
|||
Loading…
Reference in a new issue