Skip to content

Commit 1650908

Browse files
author
stefanius
committed
Fix attachments
1 parent 637949c commit 1650908

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)