Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
Riktig unleash klient
Browse files Browse the repository at this point in the history
  • Loading branch information
jstnhlj committed Dec 1, 2023
1 parent 28e5a0b commit 467797e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/kotlin/no/nav/paw/plugins/DependencyInjection.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import com.fasterxml.jackson.module.kotlin.registerKotlinModule
import io.confluent.kafka.schemaregistry.client.SchemaRegistryClientConfig
import io.confluent.kafka.serializers.KafkaAvroSerializer
import io.confluent.kafka.serializers.KafkaAvroSerializerConfig
import io.getunleash.DefaultUnleash
import io.getunleash.Unleash
import io.ktor.client.HttpClient
import io.ktor.client.plugins.contentnegotiation.ContentNegotiation
Expand Down Expand Up @@ -58,7 +59,7 @@ fun Application.configureDependencyInjection(config: Config) {
}

single<Unleash> {
UnleashDefault(
DefaultUnleash(
config.unleashClientConfig
)
}
Expand Down

0 comments on commit 467797e

Please sign in to comment.