Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Collection of commits contains inner json

  • Loading branch information...
commit 5730245ffe31e88d5058e55fc45a7730fae8d5e2 1 parent db432fd
@sarahmei sarahmei authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  diff_mailer.rb
View
2  diff_mailer.rb
@@ -26,7 +26,7 @@
authors << commit["author"]["name"]
commit_sha = commit["id"]
commit_url = "http://github.com/api/v2/json/commits/show/#{repo}/#{commit_sha}"
- commit_details << JSON.parse(`curl #{commit_url}`)
+ commit_details << JSON.parse(`curl #{commit_url}`)["commit"]
end
Pony.mail(
Please sign in to comment.
Something went wrong with that request. Please try again.