mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
新增:compare接口新增filescount数据
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
json.commits_count @compare_result['CommitsCount']
|
||||
json.files_count @compare_result['FilesCount']
|
||||
# json.commits @compare_result['Commits'], partial: 'pull_requests/commit', as: :commit
|
||||
json.commits do
|
||||
if @compare_result['Commits'].present?
|
||||
|
||||
Reference in New Issue
Block a user