From 04000337da09b7a5f1d752973e5836e2b1a4958b Mon Sep 17 00:00:00 2001 From: kristenhaerum Date: Tue, 9 Jan 2024 14:07:21 +0100 Subject: [PATCH] =?UTF-8?q?Henter=20n=C3=B8kkelinformasjon=20#deploy-tenor?= =?UTF-8?q?-search-service?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tenorsearchservice/consumers/command/GetTenorTestdata.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/tenor-search-service/src/main/java/no/nav/testnav/apps/tenorsearchservice/consumers/command/GetTenorTestdata.java b/apps/tenor-search-service/src/main/java/no/nav/testnav/apps/tenorsearchservice/consumers/command/GetTenorTestdata.java index e5b3df685be..1ce6d7d658d 100644 --- a/apps/tenor-search-service/src/main/java/no/nav/testnav/apps/tenorsearchservice/consumers/command/GetTenorTestdata.java +++ b/apps/tenor-search-service/src/main/java/no/nav/testnav/apps/tenorsearchservice/consumers/command/GetTenorTestdata.java @@ -4,7 +4,6 @@ import lombok.RequiredArgsConstructor; import org.springframework.http.HttpHeaders; import org.springframework.http.MediaType; -import org.springframework.util.MultiValueMap; import org.springframework.web.reactive.function.client.WebClient; import reactor.core.publisher.Mono; @@ -24,6 +23,7 @@ public Mono call() { return webClient.get() .uri(uriBuilder -> uriBuilder.path(TENOR_QUERY_URL) .queryParam("kql",query) + .queryParam("nokkelinformasjon",true) .build()) .header(HttpHeaders.CONTENT_TYPE, MediaType.APPLICATION_JSON_VALUE) .header(HttpHeaders.AUTHORIZATION, "Bearer " + token)