ADD repo_id column for projects api

This commit is contained in:
Jasder 2020-06-01 10:12:10 +08:00
parent fe2599df7e
commit 5a887fdd66
1 changed files with 1 additions and 0 deletions

View File

@ -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