change bugs
This commit is contained in:
parent
4aeb79de1a
commit
f6a9d1f54a
|
@ -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!
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue