From d1f50cf5c970040cb0de8ec6d580e88ac8018fef Mon Sep 17 00:00:00 2001 From: "sylor_huang@126.com" Date: Tue, 17 Mar 2020 11:44:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/jobs/sync_forge_job.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/jobs/sync_forge_job.rb b/app/jobs/sync_forge_job.rb index 51e8b74fd..f87af0b8e 100644 --- a/app/jobs/sync_forge_job.rb +++ b/app/jobs/sync_forge_job.rb @@ -60,7 +60,7 @@ class SyncForgeJob < ApplicationJob begin Rails.logger.info("#######______sync_user_start__########") keys_other_delete = %w(id created_at updated_at user_id) - keys_to_delete = %w(id created_on updated_on platform) + keys_to_delete = %w(user_id created_on updated_on platform) owner_params = owner_params["user"] if old_version_source.include?(platform) #trustie上需要 owner_params = owner_params&.except!(*keys_to_delete)