Merge branch 'develop' into standalone_develop

This commit is contained in:
yystopf 2022-05-30 14:50:48 +08:00
commit 2d52dbfc2f
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
json.total_count @projects.total_count
json.projects @projects.each do |project|
json.(project, :id, :name, :identifier, :description, :forked_count, :praises_count, :forked_from_project_id)
json.(project, :id, :name, :identifier, :description, :forked_count, :praises_count, :forked_from_project_id, :is_public)
json.mirror_url project.repository&.mirror_url
json.type project.numerical_for_project_type
json.praised project.praised_by?(current_user)