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) {