Skip to content

Commit

Permalink
Update DataExportService.java
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemaignent authored Sep 10, 2021
1 parent abe23b1 commit beae2c4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public List<LinkedHashMap<String, String>> getDatasToExport(Form form) {

public LinkedHashMap<String, String> getJsonDatasFromSignRequest(Long id) {
SignRequest signRequest = signRequestService.getById(id);
if(signRequest.getParentSignBook() != null) {
if(signRequest != null && signRequest.getParentSignBook() != null) {
Data data = dataService.getBySignRequest(signRequest);
if(data != null) {
return getToExportDatas(data, signRequest.getParentSignBook());
Expand Down

0 comments on commit beae2c4

Please sign in to comment.