Skip to content

Commit fe70f5f

Browse files
committed
clashing COMMIT constants cause catastrophes
1 parent aa9f598 commit fe70f5f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

content/v3/git/commits.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ title: Git Commits | GitHub API
1111
### Response
1212

1313
<%= headers 200 %>
14-
<%= json :commit %>
14+
<%= json :git_commit %>
1515

1616
## Create a Commit
1717

lib/resources.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ def json(key)
565565
} ]
566566
}
567567

568-
COMMIT = {
568+
GIT_COMMIT = {
569569
"sha" => "7638417db6d59f3c431d3e1f261cc637155684cd",
570570
"url" => "https://api.github.com/repos/octocat/Hello-World/git/commits/7638417db6d59f3c431d3e1f261cc637155684cd",
571571
"author" => {

0 commit comments

Comments
 (0)