diff --git a/app/controllers/welcome_controller.rb b/app/controllers/welcome_controller.rb index d0dc51e0..df86c9b9 100644 --- a/app/controllers/welcome_controller.rb +++ b/app/controllers/welcome_controller.rb @@ -491,7 +491,7 @@ class WelcomeController < ApplicationController trainee: shixun.trainee, webssh: shixun.webssh, multi_webssh: shixun.multi_webssh, can_copy: shixun.can_copy, identifier: generate_identifier, shixun_id: shixun.id, use_scope: shixun.use_scope, visits: 1, evaluate_script: shixun.evaluate_script, - local_giturl: shixun.git_url) + local_giturl: shixun.repo_name) # 同步更新实践课程中对应的shixun_id LocalStageShixun.where(shixun_id: shixun.id).update_all(local_shixun_id: local_shixun.id)