From 8ccc452325a2fda97b8fd0f8e74f4b21434eb7c4 Mon Sep 17 00:00:00 2001 From: lwih Date: Wed, 13 Mar 2024 10:31:03 +0100 Subject: [PATCH] Rapport de patrouille - update URL --- .../infrastructure/rapportnav1/APIRpnExportRepository.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/src/main/kotlin/fr/gouv/dgampa/rapportnav/infrastructure/rapportnav1/APIRpnExportRepository.kt b/backend/src/main/kotlin/fr/gouv/dgampa/rapportnav/infrastructure/rapportnav1/APIRpnExportRepository.kt index 3c3fb2ff..3bbf2db9 100644 --- a/backend/src/main/kotlin/fr/gouv/dgampa/rapportnav/infrastructure/rapportnav1/APIRpnExportRepository.kt +++ b/backend/src/main/kotlin/fr/gouv/dgampa/rapportnav/infrastructure/rapportnav1/APIRpnExportRepository.kt @@ -18,7 +18,8 @@ class APIRpnExportRepository( private val mapper: ObjectMapper ) : IRpnExportRepository { override fun exportOdt(params: ExportParams): MissionExportEntity? { - val url = "https://rapport-mission-dcs.din.developpement-durable.gouv.fr/public_api/export/odt" +// val url = "https://rapport-mission-dcs.din.developpement-durable.gouv.fr/public_api/export/odt" + val url = "https://rapportnav.kalik-sandbox.ovh/public_api/export/odt" val client = HttpClient.newHttpClient() val content = ExportMissionODTInput(