Skip to content

Commit 15730fb

Browse files
committed
Merge pull request github#1025 from Shredder121/commit-comment-update
Show the right request/response in repos/comments.md
2 parents b432909 + 23f8877 commit 15730fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/v3/repos/comments.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Name | Type | Description
4646
#### Example
4747

4848
<%= json \
49-
:body => 'Nice change',
49+
:body => 'Great stuff',
5050
:path => 'file1.txt',
5151
:position => 4,
5252
:line => nil
@@ -86,7 +86,7 @@ Name | Type | Description
8686
### Response
8787

8888
<%= headers 200 %>
89-
<%= json :commit_comment %>
89+
<%= json(:commit_comment) { |h| h.merge('body' => 'Nice change') } %>
9090

9191
## Delete a commit comment
9292

0 commit comments

Comments
 (0)