diff --git a/kraftx/http/src/main/kotlin/sh/illumi/kraft/x/http/call/Call.kt b/kraftx/http/src/main/kotlin/sh/illumi/kraft/x/http/call/Call.kt index 021bfa4..8bf4a8a 100644 --- a/kraftx/http/src/main/kotlin/sh/illumi/kraft/x/http/call/Call.kt +++ b/kraftx/http/src/main/kotlin/sh/illumi/kraft/x/http/call/Call.kt @@ -13,6 +13,6 @@ abstract class Call( val queryParams by uri.queryParam suspend fun handle() { - route.handlers[method]?.invoke(route) + route.handlers[method]?.invoke(this) } } \ No newline at end of file