Skip to content

Commit

Permalink
Fjerner autowired
Browse files Browse the repository at this point in the history
  • Loading branch information
stigebil committed Dec 6, 2024
1 parent d23aea1 commit 4135dad
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package no.nav.familie.baks.mottak.config

import com.fasterxml.jackson.databind.ObjectMapper
import no.nav.familie.http.sts.StsRestClient
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.beans.factory.annotation.Value
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration
Expand All @@ -12,7 +11,6 @@ import java.net.URI
@Configuration
class StsRestClientConfig {
@Bean
@Autowired
@Profile("!mock-sts")
fun stsRestClient(
objectMapper: ObjectMapper,
Expand Down

0 comments on commit 4135dad

Please sign in to comment.