修改项目创建的问题

This commit is contained in:
sylor_huang@126.com 2020-05-29 19:06:50 +08:00
parent 3616e84548
commit 3a9f0509fb
1 changed files with 1 additions and 1 deletions

View File

@ -50,6 +50,6 @@ class Projects::CreateService < ApplicationService
end end
def repo_is_public def repo_is_public
!get_is_public params[:private].blank? ? true : !get_is_public
end end
end end