From 77fdb5f0e343ec35112f3cd84d474fc03fd8c166 Mon Sep 17 00:00:00 2001 From: Vinod Deolal Date: Thu, 23 Sep 2021 12:58:42 +0530 Subject: [PATCH] #0 | avoid creating icon directory for the subject type icons --- .../src/main/java/org/openchs/service/OrganisationService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openchs-server-api/src/main/java/org/openchs/service/OrganisationService.java b/openchs-server-api/src/main/java/org/openchs/service/OrganisationService.java index 45453dbd2..df344fcf2 100644 --- a/openchs-server-api/src/main/java/org/openchs/service/OrganisationService.java +++ b/openchs-server-api/src/main/java/org/openchs/service/OrganisationService.java @@ -447,7 +447,7 @@ public void addFormsJson(Long orgId, ZipOutputStream zos) throws IOException { public void addIcons(ZipOutputStream zos) throws IOException { List subjectTypes = subjectTypeRepository.findAllByIconFileS3KeyNotNull(); if (subjectTypes.size() > 0) { - addDirectoryToZip(zos, "icons"); + addDirectoryToZip(zos, "subjectTypeIcons"); } for (SubjectType subjectType : subjectTypes) { AmazonS3URI amazonS3URI = new AmazonS3URI(subjectType.getIconFileS3Key());