Skip to content

Commit

Permalink
#980 RepoCommit.Smart.message() fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Yegor Bugayenko committed Jan 12, 2015
1 parent b998e9c commit 0d5f5d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/jcabi/github/RepoCommit.java
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public Smart(
*/
@NotNull(message = "message is never NULL")
public String message() throws IOException {
return this.jsn.text("message");
return this.jsn.json().getJsonObject("commit").getString("message");
}
/**
* Get its URL.
Expand Down

0 comments on commit 0d5f5d8

Please sign in to comment.