From b59708831cfddd1431476f3eedc12ed95e86795e Mon Sep 17 00:00:00 2001 From: Caio <117518+caiosba@users.noreply.github.com> Date: Sun, 1 Sep 2024 22:29:30 -0300 Subject: [PATCH] Ticket CV2-5067: Minor change to data export --- lib/list_export.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/list_export.rb b/lib/list_export.rb index 51ec959d6..6a55ab027 100644 --- a/lib/list_export.rb +++ b/lib/list_export.rb @@ -4,7 +4,7 @@ class ListExport def initialize(type, query, team_id) @type = type @query = query - @parsed_query = JSON.parse(@query) + @parsed_query = JSON.parse(@query).with_indifferent_access @team_id = team_id @team = Team.find(team_id) @feed = Feed.where(id: @parsed_query['feed_id'], team_id: @team_id).last if type == :feed