fixed compiler error by using a variable for a case statement
This commit is contained in:
parent
2ce3ee6d84
commit
25b788428b
1 changed files with 2 additions and 1 deletions
|
@ -132,8 +132,9 @@ proc createTimelineRouter*(cfg: Config) =
|
|||
prefs = cookiePrefs()
|
||||
after = getCursor()
|
||||
names = getNames(@"name")
|
||||
tab = @"tab"
|
||||
|
||||
case @"tab":
|
||||
case tab:
|
||||
of "followers":
|
||||
resp renderMain(renderUserList(await getGraphFollowers(await getUserId(@"name"), getCursor()), prefs), request, cfg, prefs)
|
||||
of "following":
|
||||
|
|
Loading…
Reference in a new issue