From 859d0bc21923508b9caa12598f8a53e2b07fd1bd Mon Sep 17 00:00:00 2001 From: Helene Arnesen Date: Thu, 19 Dec 2024 13:45:59 +0100 Subject: [PATCH 1/3] fix: sendTilGosys utland obo --- .../digitalisering/ferdigstilling/oppgave/OppgaveClient.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/no/nav/sykdig/digitalisering/ferdigstilling/oppgave/OppgaveClient.kt b/src/main/kotlin/no/nav/sykdig/digitalisering/ferdigstilling/oppgave/OppgaveClient.kt index fa45a83f..466f43d4 100644 --- a/src/main/kotlin/no/nav/sykdig/digitalisering/ferdigstilling/oppgave/OppgaveClient.kt +++ b/src/main/kotlin/no/nav/sykdig/digitalisering/ferdigstilling/oppgave/OppgaveClient.kt @@ -447,7 +447,7 @@ class OppgaveClient( ) try { - oppgaveM2mRestTemplate.exchange( + oppgaveRestTemplate.exchange( "$url/$oppgaveId", HttpMethod.PATCH, HttpEntity(body, headers), From 84639a118e7a837a7ad2d19c1e39da7535e895c7 Mon Sep 17 00:00:00 2001 From: Helene Arnesen Date: Thu, 19 Dec 2024 14:28:37 +0100 Subject: [PATCH 2/3] chore: back to m2m --- .../digitalisering/ferdigstilling/oppgave/OppgaveClient.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/no/nav/sykdig/digitalisering/ferdigstilling/oppgave/OppgaveClient.kt b/src/main/kotlin/no/nav/sykdig/digitalisering/ferdigstilling/oppgave/OppgaveClient.kt index 466f43d4..fa45a83f 100644 --- a/src/main/kotlin/no/nav/sykdig/digitalisering/ferdigstilling/oppgave/OppgaveClient.kt +++ b/src/main/kotlin/no/nav/sykdig/digitalisering/ferdigstilling/oppgave/OppgaveClient.kt @@ -447,7 +447,7 @@ class OppgaveClient( ) try { - oppgaveRestTemplate.exchange( + oppgaveM2mRestTemplate.exchange( "$url/$oppgaveId", HttpMethod.PATCH, HttpEntity(body, headers), From c723a327035b16ab16ea1c6bc6ac616103b47cca Mon Sep 17 00:00:00 2001 From: Helene Arnesen Date: Thu, 19 Dec 2024 14:48:30 +0100 Subject: [PATCH 3/3] Revert "chore: back to m2m" This reverts commit 84639a118e7a837a7ad2d19c1e39da7535e895c7. --- .../digitalisering/ferdigstilling/oppgave/OppgaveClient.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/no/nav/sykdig/digitalisering/ferdigstilling/oppgave/OppgaveClient.kt b/src/main/kotlin/no/nav/sykdig/digitalisering/ferdigstilling/oppgave/OppgaveClient.kt index fa45a83f..466f43d4 100644 --- a/src/main/kotlin/no/nav/sykdig/digitalisering/ferdigstilling/oppgave/OppgaveClient.kt +++ b/src/main/kotlin/no/nav/sykdig/digitalisering/ferdigstilling/oppgave/OppgaveClient.kt @@ -447,7 +447,7 @@ class OppgaveClient( ) try { - oppgaveM2mRestTemplate.exchange( + oppgaveRestTemplate.exchange( "$url/$oppgaveId", HttpMethod.PATCH, HttpEntity(body, headers),