discourse-ai/lib/sentiment
Keegan George 34c98de864
FIX: Exporting overall sentiment fails (#1388)
## 🔍 Overview

When exporting an Overall Sentiment report in the admin panel, the export fails with:

```ruby
Job exception: no implicit conversion of Symbol into Integer
```

This was happening because we are passing a single _Hash_ to `report.data` however, exports expect `report.data` to be an _Array of Hashes_. This update fixes this issue by wrapping the data in an array.
2025-05-30 11:58:28 -07:00
..
constants.rb
emotion_dashboard_report.rb
emotion_filter_order.rb
emotions.rb
entry_point.rb
post_classification.rb
sentiment_analysis_report.rb
sentiment_dashboard_report.rb
sentiment_site_setting_json_schema.rb