Skip to content

Commit

Permalink
Fix unirest api change for patch version update
Browse files Browse the repository at this point in the history
  • Loading branch information
lenhard committed Dec 9, 2014
1 parent 4a649c1 commit 1e2620b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/groovy/betsy/bpmn/engines/camunda/JsonHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public static JSONObject post(String url, Path path, int expectedCode) {
}

private static void assertHttpCode(int expectedCode, HttpResponse<?> response) {
int code = response.getCode();
int code = response.getStatus();
if (expectedCode == code) {
log.info("Response returned with expected status code " + expectedCode);
} else {
Expand Down

0 comments on commit 1e2620b

Please sign in to comment.