新增:创建项目auto_init参数

This commit is contained in:
2024-01-31 16:47:00 +08:00
parent d0bc8e4378
commit 447429a663
6 changed files with 15 additions and 8 deletions

View File

@@ -61,7 +61,8 @@ class Projects::CreateService < ApplicationService
{
hidden: !repo_is_public,
user_id: params[:user_id],
identifier: params[:repository_name]
identifier: params[:repository_name],
auto_init: params[:auto_init]
}
end