Browse Source

更改组织可见性为私有,则需将该组织下的所有仓库同步更改为私有仓库

pull/313/head
xxq250 3 years ago
parent
commit
d9833ef1bf
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/controllers/organizations/organizations_controller.rb

+ 1
- 1
app/controllers/organizations/organizations_controller.rb View File

@@ -134,7 +134,7 @@ class Organizations::OrganizationsController < Organizations::BaseController
project.update_attributes!(is_public: false)
project.forked_projects.update_all(is_public: project.is_public)
gitea_params = {
private: false,
private: true,
default_branch: project.default_branch,
website: project.website,
name: project.identifier


Loading…
Cancel
Save