diff --git a/app/controllers/gits_controller.rb b/app/controllers/gits_controller.rb index e87f3302f..850458e65 100644 --- a/app/controllers/gits_controller.rb +++ b/app/controllers/gits_controller.rb @@ -51,6 +51,8 @@ class GitsController < ApplicationController shixun = Shixun.select([:id, :user_id, :repo_name, :identifier]).where(repo_name: repo_name).first if shixun.blank? shixun_id = ShixunSecretRepository.where(repo_name: repo_name).pluck(:shixun_id).first + logger.info("####repo_name:#{repo_name}") + logger.info("####shixun_id:#{shixun_id}") shixun = Shixun.select([:id, :user_id, :repo_name, :identifier]).find_by(id: shixun_id) end uid_logger("git start auth: shixun identifier is #{shixun.try(:identifier)}")