mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-24 05:35:46 +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?
|
next if user.blank?
|
||||||
|
|
||||||
json.id project.id
|
json.id project.id
|
||||||
|
json.repo_id project&.repository.id
|
||||||
json.identifier project.identifier
|
json.identifier project.identifier
|
||||||
json.name project.name
|
json.name project.name
|
||||||
json.description Nokogiri::HTML(project.description).text
|
json.description Nokogiri::HTML(project.description).text
|
||||||
|
|||||||
Reference in New Issue
Block a user