request.queryParams can return null, which throws a runtime error since the return type of RouteHandler.queryParams is set as a non-nullable String:
fun queryParams(key: String): String {
return request.queryParams(key)
}
There are probably other methods with the same problem (contentType?)
request.queryParams can return null, which throws a runtime error since the return type of RouteHandler.queryParams is set as a non-nullable String: fun queryParams(key: String): String { return request.queryParams(key) }
There are probably other methods with the same problem (contentType?)