Skip to content

Commit

Permalink
typo - need to move else clause too
Browse files Browse the repository at this point in the history
  • Loading branch information
qqmyers committed Feb 14, 2020
1 parent 9da2b35 commit 4a51acf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/java/org/sead/uploader/dataverse/DVUploader.java
Original file line number Diff line number Diff line change
Expand Up @@ -443,9 +443,10 @@ protected String uploadDatafile(Resource file, String path) {
jsonData = jsonData
+ (!parentPath.isEmpty() ? ",\"directoryLabel\":\"" + parentPath + "\"}"
: "}");
} else {
jsonData = jsonData + "}";

}
} else {
jsonData = jsonData + "}";
}
meb.addTextBody("jsonData", jsonData);

Expand Down

0 comments on commit 4a51acf

Please sign in to comment.