Skip to content

Commit e08b28e

Browse files
authored
Merge pull request #15 from stefanius/fix-attachments
Fix attachments
2 parents 637949c + 1650908 commit e08b28e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/testmonitor/resources/TestResult.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public void addAttachment(File attachment) {
119119

120120
public HashMap<String, File> getAttachments() {
121121
return new HashMap<String, File>() {{
122-
attachments.forEach((file) -> put("file", file));
122+
attachments.forEach((file) -> put("attachments[]", file));
123123
}};
124124
}
125125

0 commit comments

Comments
 (0)