Skip to content

Commit

Permalink
minor cleanup AttachmentBL API
Browse files Browse the repository at this point in the history
  • Loading branch information
teosarca committed Sep 14, 2017
1 parent 98f3a4c commit 38a6de2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public void addEntry(final MultipartFile file) throws IOException
final String name = file.getOriginalFilename();
final byte[] data = file.getBytes();

attachmentsBL.createAttachment(recordRef, name, data);
attachmentsBL.addEntry(recordRef, name, data);

notifyRelatedDocumentTabsChanged();
}
Expand Down

0 comments on commit 38a6de2

Please sign in to comment.