mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-24 05:35:46 +08:00
softbot补充和调整接口字段
This commit is contained in:
@@ -6,8 +6,10 @@ json.repositories do
|
||||
project = Project.find_by(id: install_bot.store_id)
|
||||
if project.present?
|
||||
json.id install_bot.store_id
|
||||
json.url "#{base_url}/#{project.owner.login}/#{project.owner.identifier}.git"
|
||||
json.name project.owner.identifier
|
||||
json.url "#{base_url}/#{project.owner.login}/#{project.identifier}.git"
|
||||
json.identifier project.identifier
|
||||
json.name project.name
|
||||
json.description Nokogiri::HTML(project.description).text
|
||||
json.owner_name project.owner.login
|
||||
json.is_public project.is_public
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user