Skip to content

Commit 56bd5f6

Browse files
committed
Add some accepted file type specifiers
1 parent d0dcb2a commit 56bd5f6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/org/tailormap/api/configuration/dev/PopulateTestData.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -926,7 +926,7 @@ private void createCatalogTestData() throws Exception {
926926
.addAttachmentAttributesItem(new AttachmentAttributeType()
927927
.attributeName("bijlage")
928928
.maxAttachmentSize(4_000_000L)
929-
.mimeType("image/jpeg, image/svg+xml"));
929+
.mimeType("image/jpeg, image/svg+xml, .png, image/*"));
930930
try {
931931
AttachmentsHelper.createAttachmentTableForFeatureType(ft);
932932
} catch (IOException | SQLException e) {
@@ -975,7 +975,7 @@ private void createCatalogTestData() throws Exception {
975975
.addAttachmentAttributesItem(new AttachmentAttributeType()
976976
.attributeName("bijlage")
977977
.maxAttachmentSize(4_000_000L)
978-
.mimeType("image/jpeg, image/svg+xml"));
978+
.mimeType("image/jpeg, image/svg+xml, .png, image/*"));
979979
try {
980980
AttachmentsHelper.createAttachmentTableForFeatureType(ft);
981981
} catch (IOException | SQLException e) {
@@ -1004,7 +1004,7 @@ private void createCatalogTestData() throws Exception {
10041004
.addAttachmentAttributesItem(new AttachmentAttributeType()
10051005
.attributeName("bijlage")
10061006
.maxAttachmentSize(4_000_000L)
1007-
.mimeType("image/jpeg, image/svg+xml"));
1007+
.mimeType("image/jpeg, image/svg+xml, .png, image/*"));
10081008
try {
10091009
AttachmentsHelper.createAttachmentTableForFeatureType(ft);
10101010
} catch (IOException | SQLException e) {

0 commit comments

Comments
 (0)