ctucx.git: oeffi-web

[nimlang] oeffisearch fork that works without javascript

1 
2 
3 
4 
5 
import json, options, asyncdispatch
import nimhafas

proc suggestionsEndpoint* (data: JsonNode): Future[JsonNode] {.async.} =
  return %* (await suggestions(data.to(SuggestionsParams)))