新增:导入项目服务参数

This commit is contained in:
2024-08-23 10:02:07 +08:00
parent 11743355ef
commit 771798220c
5 changed files with 6 additions and 3 deletions

View File

@@ -45,6 +45,7 @@ class Gitea::Accelerator::MigrateService < Gitea::Accelerator::BaseService
repo_name: params[:repository_name],
auth_username: params[:auth_username],
auth_password: Base64.decode64(params[:auth_password]),
auth_token: params[:auth_token],
mirror: ActiveModel::Type::Boolean.new.cast(params[:is_mirror])
}
end