From 4aee48b5117f1e0d87f65c6ed87cf6c57a993d9b Mon Sep 17 00:00:00 2001 From: Marcus Aspin Date: Mon, 16 Oct 2023 14:24:46 +0100 Subject: [PATCH] PI-1558 Update PSR extension in Alfresco (#2388) This is an extension of https://github.com/ministryofjustice/hmpps-probation-integration-services/pull/2384 --- .../hmpps/integrations/delius/document/DocumentService.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/pre-sentence-reports-to-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/integrations/delius/document/DocumentService.kt b/projects/pre-sentence-reports-to-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/integrations/delius/document/DocumentService.kt index f16a165c78..6e16a46ae1 100644 --- a/projects/pre-sentence-reports-to-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/integrations/delius/document/DocumentService.kt +++ b/projects/pre-sentence-reports-to-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/integrations/delius/document/DocumentService.kt @@ -80,6 +80,7 @@ class DocumentService( bodyBuilder.part("entityId", courtReportId.toString(), MediaType.TEXT_PLAIN) bodyBuilder.part("author", authorName, MediaType.TEXT_PLAIN) bodyBuilder.part("filedata", file, MediaType.APPLICATION_OCTET_STREAM).filename(filename) + bodyBuilder.part("fileName", filename, MediaType.TEXT_PLAIN) bodyBuilder.part("docType", "DOCUMENT", MediaType.TEXT_PLAIN) bodyBuilder.part("entityType", "COURTREPORT", MediaType.TEXT_PLAIN) if (locked) {