From 1a1c07da1d115c8420b99c024bc179d4f27d6247 Mon Sep 17 00:00:00 2001 From: Rick Veenstra Date: Thu, 16 May 2024 10:18:41 +0200 Subject: [PATCH] bugfix preventing double slash There is already a slash in the valtimoEndpointUri so it is not required before the v1 --- .../documenten-api-documents.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/valtimo/dossier/src/lib/components/dossier-detail/tab/documenten-api-documents/documenten-api-documents.component.ts b/projects/valtimo/dossier/src/lib/components/dossier-detail/tab/documenten-api-documents/documenten-api-documents.component.ts index 114adacd1..728f4431e 100644 --- a/projects/valtimo/dossier/src/lib/components/dossier-detail/tab/documenten-api-documents/documenten-api-documents.component.ts +++ b/projects/valtimo/dossier/src/lib/components/dossier-detail/tab/documenten-api-documents/documenten-api-documents.component.ts @@ -123,7 +123,7 @@ export class DossierDetailTabDocumentenApiDocumentsComponent implements OnInit { this.downloadingFileIndexes$.next([...indexes, index]); const finished$: Observable = this.downloadService.downloadFile( - `${this.valtimoEndpointUri}/v1/documenten-api/${relatedFile.pluginConfigurationId}/files/${relatedFile.fileId}/download`, + `${this.valtimoEndpointUri}v1/documenten-api/${relatedFile.pluginConfigurationId}/files/${relatedFile.fileId}/download`, relatedFile.fileName );