mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Skip search requests when query is empty
This commit is contained in:
parent
1e1e034237
commit
aa2fed19d7
2 changed files with 12 additions and 5 deletions
|
|
@ -12,6 +12,8 @@ const
|
|||
"verified", "safe"
|
||||
]
|
||||
|
||||
emptyQuery* = "include:nativeretweets"
|
||||
|
||||
template `@`(param: string): untyped =
|
||||
if param in pms: pms[param]
|
||||
else: ""
|
||||
|
|
|
|||
Loading…
Reference in a new issue