Route is working fine before I wrapped it in `auth...
# ktor
t
Route is working fine before I wrapped it in `authenticate{}`:
Copy code
application.routing {
            route("/admin/categories") {
                    ...
                    get {...}
                    ...
            }
        }
I keep getting this error after wrapping it:
Conversion failed, null returned io.ktor.features.CannotTransformContentToTypeException: Cannot transform this request's content to class io.ktor.http.Parameters
Code that throws the error:
Copy code
application.routing {
            authenticate(ADMIN_AUTH) {
                route("/admin/categories") {
                    ...
                    get {...}
                    ...
                }
            }
            
        }