From 1a272e7a18c3cb62e815f6801bb960129fbf064b Mon Sep 17 00:00:00 2001 From: Pranav Date: Tue, 13 Feb 2024 12:32:02 -0800 Subject: [PATCH] Remove CSV Safe --- app/views/api/v2/accounts/reports/agents.csv.erb | 2 +- app/views/api/v2/accounts/reports/conversation_traffic.erb | 2 +- app/views/api/v2/accounts/reports/inboxes.csv.erb | 2 +- app/views/api/v2/accounts/reports/labels.csv.erb | 2 +- app/views/api/v2/accounts/reports/teams.csv.erb | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/views/api/v2/accounts/reports/agents.csv.erb b/app/views/api/v2/accounts/reports/agents.csv.erb index dfc90f016..db1e3dcc0 100644 --- a/app/views/api/v2/accounts/reports/agents.csv.erb +++ b/app/views/api/v2/accounts/reports/agents.csv.erb @@ -9,5 +9,5 @@ %> <%= CSVSafe.generate_line headers -%> <% @report_data.each do |row| %> -<%= CSVSafe.generate_line row -%> +<%= CSV.generate_line row -%> <% end %> diff --git a/app/views/api/v2/accounts/reports/conversation_traffic.erb b/app/views/api/v2/accounts/reports/conversation_traffic.erb index d0cb245f4..909d63404 100644 --- a/app/views/api/v2/accounts/reports/conversation_traffic.erb +++ b/app/views/api/v2/accounts/reports/conversation_traffic.erb @@ -1,5 +1,5 @@ <%= CSV.generate_line [I18n.t('reports.conversation_traffic_csv.timezone'), @timezone] %> <% @report_data.each do |row| %> -<%= CSVSafe.generate_line row -%> +<%= CSV.generate_line row -%> <% end %> diff --git a/app/views/api/v2/accounts/reports/inboxes.csv.erb b/app/views/api/v2/accounts/reports/inboxes.csv.erb index df038d5fe..5721c6236 100644 --- a/app/views/api/v2/accounts/reports/inboxes.csv.erb +++ b/app/views/api/v2/accounts/reports/inboxes.csv.erb @@ -10,5 +10,5 @@ %> <%= CSVSafe.generate_line headers -%> <% @report_data.each do |row| %> -<%= CSVSafe.generate_line row -%> +<%= CSV.generate_line row -%> <% end %> diff --git a/app/views/api/v2/accounts/reports/labels.csv.erb b/app/views/api/v2/accounts/reports/labels.csv.erb index fdf578415..8dc18f34c 100644 --- a/app/views/api/v2/accounts/reports/labels.csv.erb +++ b/app/views/api/v2/accounts/reports/labels.csv.erb @@ -9,5 +9,5 @@ %> <%= CSVSafe.generate_line headers -%> <% @report_data.each do |row| %> -<%= CSVSafe.generate_line row -%> +<%= CSV.generate_line row -%> <% end %> diff --git a/app/views/api/v2/accounts/reports/teams.csv.erb b/app/views/api/v2/accounts/reports/teams.csv.erb index 1c2e6084a..f1d7f77ca 100644 --- a/app/views/api/v2/accounts/reports/teams.csv.erb +++ b/app/views/api/v2/accounts/reports/teams.csv.erb @@ -9,5 +9,5 @@ %> <%= CSVSafe.generate_line headers -%> <% @report_data.each do |row| %> -<%= CSVSafe.generate_line row -%> +<%= CSV.generate_line row -%> <% end %>