zero_coding
08/28/2020, 12:41 PMfun Route.genderRoutes() {
val p = Program()
get("/genders") { call.respond(p.run()) }
}
the function p.run()
returns a list of users. Calling the api, I've got:
java.lang.StackOverflowError: null
at com.google.gson.stream.JsonWriter.value(JsonWriter.java:522)