repo detail 接口返回license_id

This commit is contained in:
feng 2025-03-11 11:11:25 +08:00 committed by xxq250
parent 0baf0781f0
commit 1ccbecc112
1 changed files with 1 additions and 0 deletions

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