From d9833ef1bf16f5dd78f50a28569371c3c8ed1975 Mon Sep 17 00:00:00 2001 From: xxq250 Date: Fri, 9 Dec 2022 14:18:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E7=BB=84=E7=BB=87=E5=8F=AF?= =?UTF-8?q?=E8=A7=81=E6=80=A7=E4=B8=BA=E7=A7=81=E6=9C=89=EF=BC=8C=E5=88=99?= =?UTF-8?q?=E9=9C=80=E5=B0=86=E8=AF=A5=E7=BB=84=E7=BB=87=E4=B8=8B=E7=9A=84?= =?UTF-8?q?=E6=89=80=E6=9C=89=E4=BB=93=E5=BA=93=E5=90=8C=E6=AD=A5=E6=9B=B4?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E7=A7=81=E6=9C=89=E4=BB=93=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/organizations/organizations_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/organizations/organizations_controller.rb b/app/controllers/organizations/organizations_controller.rb index 1a6b1bd4d..10aaa1ae6 100644 --- a/app/controllers/organizations/organizations_controller.rb +++ b/app/controllers/organizations/organizations_controller.rb @@ -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