From 4912ff43c4e7cbf4674e727a35ea7455d5b1c1e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B1=E5=8D=9A=E4=BA=9E?= Date: Tue, 23 Jan 2024 22:57:33 +0800 Subject: [PATCH] Fix bug. --- lib/tasks/sync_fgu_personal_data_tasks.rake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tasks/sync_fgu_personal_data_tasks.rake b/lib/tasks/sync_fgu_personal_data_tasks.rake index 1fe6f06..5f21026 100644 --- a/lib/tasks/sync_fgu_personal_data_tasks.rake +++ b/lib/tasks/sync_fgu_personal_data_tasks.rake @@ -282,7 +282,7 @@ module FguSyncPlugin puts "Saving new Certificate." else cert.update_attributes(cert_data) - puts "Updating Certificate #{exp.id}." + puts "Updating Certificate #{cert.id}." end end end @@ -722,7 +722,7 @@ module FguSyncPlugin } if key_mapping.has_key?(table_name) && key_mapping[table_name].present? tmp = key_mapping[table_name] - mapping_text = tmp.map{|k,v| "\"#{k}\" as '#{v}'"}.join(', ') + mapping_text = tmp.map{|k,v| "[#{k}] as '#{v}'"}.join(', ') else mapping_text = '*' end