We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 999828b commit 23f8877Copy full SHA for 23f8877
content/v3/repos/comments.md
@@ -46,7 +46,7 @@ Name | Type | Description
46
#### Example
47
48
<%= json \
49
- :body => 'Nice change',
+ :body => 'Great stuff',
50
:path => 'file1.txt',
51
:position => 4,
52
:line => nil
@@ -86,7 +86,7 @@ Name | Type | Description
86
### Response
87
88
<%= headers 200 %>
89
-<%= json :commit_comment %>
+<%= json(:commit_comment) { |h| h.merge('body' => 'Nice change') } %>
90
91
## Delete a commit comment
92
0 commit comments