diff --git a/app/controllers/shixuns_controller.rb b/app/controllers/shixuns_controller.rb index 5e3a58c3d..eebcf470c 100644 --- a/app/controllers/shixuns_controller.rb +++ b/app/controllers/shixuns_controller.rb @@ -991,7 +991,7 @@ private def find_repo_name # 有私密版本库的参数时,需要拿私密仓库 - @repo_path = if params[:secret_repositoy] + @repo_path = if params[:secret_repositroy] @shixun.shixun_secret_repository&.repo_path else @shixun.try(:repo_path)