change bugs

This commit is contained in:
sylor_huang@126.com 2020-07-10 20:20:20 +08:00
parent 4aeb79de1a
commit f6a9d1f54a
2 changed files with 0 additions and 2 deletions

View File

@ -23,7 +23,6 @@ class SyncForgeController < ApplicationController
}
project = Projects::CreateService.new(project_user, project_params).call
Rails.logger.info("=================new_project_id:#{project.id}========")
Rails.logger.info("=================new_repository_id:#{project&.repository&.id}========")
if project.present?
if sync_params[:project_score].present?
sync_params.permit!

View File

@ -54,7 +54,6 @@ class SyncProjectsJob < ApplicationJob
if re[:target_params].present?
SyncLog.sync_log("***user_login:#{re[:user_login]}----target_type:#{target_type}")
u_id = User.select(:id, :login).where(login: re[:user_login]).pluck(:id).first
new_target = target_type.constantize.new(re[:target_params].merge(user_id: u_id))
if target_type == "Issue"