diff --git a/inngest-core/src/main/kotlin/com/inngest/Comm.kt b/inngest-core/src/main/kotlin/com/inngest/Comm.kt index 311febfc..00a658d4 100644 --- a/inngest-core/src/main/kotlin/com/inngest/Comm.kt +++ b/inngest-core/src/main/kotlin/com/inngest/Comm.kt @@ -47,6 +47,7 @@ data class CommError( class CommHandler( val functions: Map, val client: Inngest, + val config: ServeConfig, private val framework: SupportedFrameworkName, ) { val headers = Environment.inngestHeaders(framework).plus(client.headers) diff --git a/inngest-core/src/main/kotlin/com/inngest/ktor/Route.kt b/inngest-core/src/main/kotlin/com/inngest/ktor/Route.kt index c6742f24..e4d010b0 100644 --- a/inngest-core/src/main/kotlin/com/inngest/ktor/Route.kt +++ b/inngest-core/src/main/kotlin/com/inngest/ktor/Route.kt @@ -36,6 +36,7 @@ fun Route.serve( CommHandler( functions = fnMap, client = client, + config = config, framework = SupportedFrameworkName.Ktor, )