From 7c24f05994715762dcdfbed987d8fade047bae89 Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Wed, 20 Nov 2019 17:59:41 +0800 Subject: [PATCH] 1 --- app/controllers/gits_controller.rb | 2 ++ 1 file changed, 2 insertions(+) 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)}")