mirror of
https://github.com/zedeus/nitter.git
synced 2025-12-07 20:45:36 -05:00
Clean up cache code
This commit is contained in:
@@ -41,5 +41,5 @@ proc createListRouter*(cfg: Config) =
|
||||
let list = await getCachedList(id=(@"id"))
|
||||
if list.id.len == 0:
|
||||
resp Http404
|
||||
await cache(list, time=listCacheTime)
|
||||
await cache(list)
|
||||
redirect("/" & list.username & "/lists/" & list.name)
|
||||
|
||||
Reference in New Issue
Block a user