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

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