i don't really know ktor, but you could solve it b...
# ktor
t
i don't really know ktor, but you could solve it by extracting the lambda to a function?
Copy code
get("/", ::dualHandler)
post("/", ::dualHandler)
☝️ 1
h
i bet you can also just extract the lambda into a variable, so no need for a whole function