From cf34a4f8a1a0e4258ac843093f1a77f545ac8c0a Mon Sep 17 00:00:00 2001 From: Justin <16829344+jmilljr24@users.noreply.github.com> Date: Sat, 7 Dec 2024 16:55:33 -0500 Subject: [PATCH] update email (#1214) --- .../organizations/importers/google_csv_import_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/organizations/importers/google_csv_import_service.rb b/app/services/organizations/importers/google_csv_import_service.rb index cc167b58a..55b0a35f1 100644 --- a/app/services/organizations/importers/google_csv_import_service.rb +++ b/app/services/organizations/importers/google_csv_import_service.rb @@ -73,7 +73,7 @@ def validate_file def create_form_answers(form_submission, row) row.each do |col| - next if col[0] == "Email" || col[0] == "Timestamp" + next if col[0] == @email_header || col[0] == "Timestamp" answer = col[1].nil? ? "" : col[1] FormAnswer.create!(