Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit 417c066

Browse files
committed
DEV: Remove code to be handled in separate PR
1 parent b1a617e commit 417c066

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

lib/sentiment/sentiment_analysis_report.rb

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,6 @@ class SentimentAnalysisReport
1010
def self.register!(plugin)
1111
plugin.add_report("sentiment_analysis") do |report|
1212
report.modes = [:sentiment_analysis]
13-
pp "============== #{report.filters} ========= #{report.filters.class} ========== #{report.filters.inspect}"
14-
15-
if report.filters.is_a?(String)
16-
begin
17-
report.filters = JSON.parse(report.filters)
18-
rescue JSON::ParserError => e
19-
Rails.logger.error("#{self.class.name}: #{e.message}")
20-
report.filters = {}
21-
end
22-
end
2313

2414
group_by_filter = report.filters.dig(:group_by) || GROUP_BY_FILTER_DEFAULT
2515
report.add_filter(

0 commit comments

Comments
 (0)