Refactor api code

This commit is contained in:
Zed
2019-09-06 03:37:12 +02:00
parent 014f01bf88
commit 43bf6735d4
13 changed files with 414 additions and 397 deletions

View File

@@ -1,5 +1,3 @@
import ../utils
template cookiePrefs*(): untyped {.dirty.} =
getPrefs(request.cookies.getOrDefault("preferences"))