|
|
|
@ -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)}")
|
|
|
|
|