mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
parent
61246df9de
commit
8394b044ef
6 changed files with 12 additions and 12 deletions
|
|
@ -68,7 +68,7 @@ proc createRssRouter*(cfg: Config) =
|
|||
let
|
||||
prefs = requestPrefs()
|
||||
query = initQuery(params(request))
|
||||
if query.kind notin {tweets, top, media}:
|
||||
if query.kind notin {QueryKind.tweets, QueryKind.top, QueryKind.media}:
|
||||
resp Http400, showError("Only Tweet searches are allowed for RSS feeds.", cfg)
|
||||
|
||||
let
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ proc fetchProfile*(after: string; query: Query; skipRail=false): Future[Profile]
|
|||
|
||||
let
|
||||
rail =
|
||||
skipIf(skipRail or query.kind == media, @[]):
|
||||
skipIf(skipRail or query.kind == QueryKind.media, @[]):
|
||||
getCachedPhotoRail(userId)
|
||||
|
||||
user = getCachedUser(name)
|
||||
|
|
|
|||
Loading…
Reference in a new issue