Browse Source

repo detail 接口返回license_id

pull/347/head
feng xxq250 1 year ago
parent
commit
1ccbecc112
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      app/views/repositories/detail.json.jbuilder

+ 1
- 0
app/views/repositories/detail.json.jbuilder View File

@@ -66,6 +66,7 @@ else
json.private !@project.is_public
end
json.license_name @project.license_name
json.license_id @project.license_id
json.branches_count @result[:branch_tag_total_count].present? ? (@result[:branch_tag_total_count]['branch_count'] || 0) : 0
json.tags_count @result[:branch_tag_total_count].present? ? (@result[:branch_tag_total_count]['tag_count'] || 0) : 0
# json.contributors do


Loading…
Cancel
Save