Skip to content

Commit

Permalink
#0 | avoid creating icon directory for the subject type icons
Browse files Browse the repository at this point in the history
  • Loading branch information
vindeolal committed Sep 23, 2021
1 parent d55900c commit 77fdb5f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ public void addFormsJson(Long orgId, ZipOutputStream zos) throws IOException {
public void addIcons(ZipOutputStream zos) throws IOException {
List<SubjectType> subjectTypes = subjectTypeRepository.findAllByIconFileS3KeyNotNull();
if (subjectTypes.size() > 0) {
addDirectoryToZip(zos, "icons");
addDirectoryToZip(zos, "subjectTypeIcons");
}
for (SubjectType subjectType : subjectTypes) {
AmazonS3URI amazonS3URI = new AmazonS3URI(subjectType.getIconFileS3Key());
Expand Down

0 comments on commit 77fdb5f

Please sign in to comment.