discourse-ai/spec/lib/modules/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
..
jobs/regular DEV: Cleanup deprecations (#952) 2024-12-02 14:18:03 -03:00
emotion_filter_order_spec.rb DEV: add `guardian` argument to `TopicsFilter` callback (#1206) 2025-03-24 10:33:18 +01:00
entry_point_spec.rb FIX: Exporting overall sentiment fails (#1388) 2025-05-30 11:58:28 -07:00
post_classification_spec.rb FEATURE: Backfill posts sentiment. (#982) 2024-12-03 10:27:03 -03:00