Parse user stats as ints, not strings, cleanup

This commit is contained in:
Zed
2022-01-16 03:32:18 +01:00
parent 54330f0b0c
commit fcfc1ef497
6 changed files with 18 additions and 19 deletions

View File

@@ -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