修改问题

This commit is contained in:
sylor_huang@126.com 2020-03-17 11:44:34 +08:00
parent f060e63702
commit d1f50cf5c9
1 changed files with 1 additions and 1 deletions

View File

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