From 6b9e391416830dd7da82c21569fd69746291c10a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20N=2E=20Wed=C3=B8e?= Date: Tue, 3 Sep 2024 12:33:33 +0200 Subject: [PATCH] Removed unnecessary explicit naming. --- .../nav/klage/oppgave/config/OppgaveApiClientConfiguration.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/no/nav/klage/oppgave/config/OppgaveApiClientConfiguration.kt b/src/main/kotlin/no/nav/klage/oppgave/config/OppgaveApiClientConfiguration.kt index e866cdcfd..69eb11dea 100644 --- a/src/main/kotlin/no/nav/klage/oppgave/config/OppgaveApiClientConfiguration.kt +++ b/src/main/kotlin/no/nav/klage/oppgave/config/OppgaveApiClientConfiguration.kt @@ -14,7 +14,7 @@ class OppgaveApiClientConfiguration(private val webClientBuilder: WebClient.Buil @Value("\${OPPGAVE_API_BASE_URL}") private lateinit var oppgaveBaseURL: String - @Bean("oppgaveApiWebClient") + @Bean fun oppgaveApiWebClient(): WebClient { return webClientBuilder .baseUrl(oppgaveBaseURL)