ADD repo_id column for projects api
This commit is contained in:
parent
fe2599df7e
commit
5a887fdd66
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue