From 0d6fb20fbe6f669a3e620af2828bf7277a640092 Mon Sep 17 00:00:00 2001 From: Joakim Taule Kartveit Date: Tue, 24 Oct 2023 12:05:53 +0200 Subject: [PATCH] het fnr by hpr --- .../kotlin/no/nav/syfo/application/BlockingApplicationRunner.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/no/nav/syfo/application/BlockingApplicationRunner.kt b/src/main/kotlin/no/nav/syfo/application/BlockingApplicationRunner.kt index e8c63c18..3f38c802 100644 --- a/src/main/kotlin/no/nav/syfo/application/BlockingApplicationRunner.kt +++ b/src/main/kotlin/no/nav/syfo/application/BlockingApplicationRunner.kt @@ -644,7 +644,7 @@ class BlockingApplicationRunner( } else if (behandlerfnr != null) { norskHelsenettClient.getByFnr(behandlerfnr, loggingMeta) } else if (organisationBehandlerHpr != null) { - norskHelsenettClient.getByFnr(organisationBehandlerHpr, loggingMeta) + norskHelsenettClient.getByHpr(organisationBehandlerHpr, loggingMeta) } else { null }