| @@ -1372,7 +1372,7 @@ await octokit.request('POST /api/v1/yystopf/ceshi/pulls/1/journals.json') | |||||
| |owner |是| | string |用户登录名 | | |owner |是| | string |用户登录名 | | ||||
| |repo |是| | string |项目标识identifier | | |repo |是| | string |项目标识identifier | | ||||
| |index |是| | integer|合并请求序号| | |index |是| | integer|合并请求序号| | ||||
| |type |是| | string |评论类型 comment: 普通, problem: 需要回应的评论| | |||||
| |type |否|comment| string |评论类型 comment: 普通, problem: 需要回应的评论| | |||||
| |note |否| | string |评论内容| | |note |否| | string |评论内容| | ||||
| |review_id |否| | string |审查ID| | |review_id |否| | string |审查ID| | ||||
| |line_code |否| | string |行号| | |line_code |否| | string |行号| | ||||
| @@ -15,7 +15,7 @@ class Api::V1::Projects::Pulls::Journals::CreateService < ApplicationService | |||||
| @note = params[:note] | @note = params[:note] | ||||
| @commit_id = params[:commit_id] | @commit_id = params[:commit_id] | ||||
| @path = params[:path] | @path = params[:path] | ||||
| @type = params[:type] | |||||
| @type = params[:type] || "comment" | |||||
| @diff = params[:diff] | @diff = params[:diff] | ||||
| @review_id = params[:review_id] | @review_id = params[:review_id] | ||||
| @user = user | @user = user | ||||
| @@ -15296,8 +15296,8 @@ http://localhost:3000/api/v1/yystopf/ceshi/pulls/1/journals.json | |||||
| </tr> | </tr> | ||||
| <tr> | <tr> | ||||
| <td>type</td> | <td>type</td> | ||||
| <td>是</td> | |||||
| <td></td> | |||||
| <td>否</td> | |||||
| <td>comment</td> | |||||
| <td>string</td> | <td>string</td> | ||||
| <td>评论类型 comment: 普通, problem: 需要回应的评论</td> | <td>评论类型 comment: 普通, problem: 需要回应的评论</td> | ||||
| </tr> | </tr> | ||||