mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-11 07:15:55 +08:00
ADD repo_id column for projects api
This commit is contained in:
@@ -4,6 +4,7 @@ json.projects @projects do |project|
|
||||
next if user.blank?
|
||||
|
||||
json.id project.id
|
||||
json.repo_id project&.repository.id
|
||||
json.identifier project.identifier
|
||||
json.name project.name
|
||||
json.description Nokogiri::HTML(project.description).text
|
||||
|
||||
Reference in New Issue
Block a user