Skip to content
This repository has been archived by the owner on Dec 5, 2020. It is now read-only.

Commit

Permalink
html_url
Browse files Browse the repository at this point in the history
  • Loading branch information
amihaiemil committed Sep 3, 2017
1 parent 59a8d05 commit 259ef82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/amihaiemil/charles/github/Tweet.java
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public void perform(Command command, Logger logger) throws IOException {
*/
private static String message(final Command com) throws IOException {
final String unformatted = com.language().response("tweet." + com.type());
final String issueUrl = com.issue().json().getString("url", "");
final String issueUrl = com.issue().json().getString("html_url", "");
if(unformatted == null || unformatted.isEmpty() || issueUrl.isEmpty()) {
return "";
}
Expand Down

0 comments on commit 259ef82

Please sign in to comment.