修改: 合并请求评论必选参数以及审查列表去掉分页

This commit is contained in:
2022-08-03 17:13:45 +08:00
parent 96d34d0237
commit 024bc289de
5 changed files with 15 additions and 5 deletions

View File

@@ -1,4 +1,5 @@
json.total_count @reviews.total_count
# json.total_count @reviews.total_count
json.total_count @reviews.count
json.reviews @reviews.each do |review|
json.partial! 'api/v1/projects/pulls/reviews/simple_detail', review: review
end